Skip to content

Commit 8de3fcc

Browse files
committed
REORG/MINOR: ssl: using enum for SSL mode async
1 parent c226119 commit 8de3fcc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/haproxy_spec.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,10 @@ definitions:
269269
type: string
270270
x-display-name: SSL Default Server Options
271271
ssl_mode_async:
272-
type: boolean
272+
enum:
273+
- enabled
274+
- disabled
275+
type: string
273276
x-display-name: Asynchronous TLS I/O operations
274277
stats_timeout:
275278
type: integer

models/configuration.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ global:
5959
type: string
6060
x-display-name: SSL Default Server Ciphersuites
6161
ssl_mode_async:
62-
type: boolean
62+
type: string
63+
enum: [enabled, disabled]
6364
x-display-name: Asynchronous TLS I/O operations
6465
cpu_maps:
6566
x-go-name: CPUMaps

0 commit comments

Comments
 (0)