Skip to content

Commit 8d34f9b

Browse files
committed
BUILD/MINOR: fix yaml-lint errors
Signed-off-by: Vincent Gramer <vgramer@haproxy.com>
1 parent 9a6dbff commit 8d34f9b

19 files changed

Lines changed: 23 additions & 9 deletions

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ linters:
3838
- gci
3939
- goconst
4040
- recvcheck
41-
- tenv #deprecated
41+
- tenv # deprecated
4242

4343
issues:
4444
exclude-files:

specification/models/configuration/backend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ backend_base:
311311
x-display-name: Checkcache
312312
http-drop-request-trailers:
313313
type: string
314-
enum: [ enabled, disabled ]
314+
enum: [enabled, disabled]
315315
x-display-name: Drop HTTP Request Trailers
316316
independent_streams:
317317
type: string

specification/models/configuration/defaults.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ defaults_base:
130130
x-display-name: HTTP bufferrequest
131131
http-drop-request-trailers:
132132
type: string
133-
enum: [ enabled, disabled ]
133+
enum: [enabled, disabled]
134134
x-display-name: Drop HTTP Request Trailers
135135
http-drop-response-trailers:
136136
type: string
137-
enum: [ enabled, disabled ]
137+
enum: [enabled, disabled]
138138
x-display-name: Drop HTTP Response Trailers
139139
httplog:
140140
type: boolean

specification/models/configuration/frontend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ frontend_base:
123123
value: http
124124
http-drop-response-trailers:
125125
type: string
126-
enum: [ enabled, disabled ]
126+
enum: [enabled, disabled]
127127
x-display-name: Drop HTTP Response Trailers
128128
client_timeout:
129129
type: integer

specification/models/configuration/ssl_front_use.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ssl_front_use:
33
title: SSL Frontend Use certificate
44
description: Assign a certificate to the current frontend
5-
type: object # sslbindconf
5+
type: object # sslbindconf
66
x-go-name: SSLFrontUse
77
required:
88
- certificate

specification/models/runtime/ssl_certificate_id.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
ssl_certificate_id:
23
title: SSL Certificate ID
34
description: SSL Certificate ID
@@ -18,4 +19,4 @@ ssl_certificate_id:
1819
issuer_key_hash:
1920
type: string
2021
serial_number:
21-
type: string
22+
type: string

specification/models/runtime/ssl_crl_entry.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
ssl_crl_entry:
23
title: One CRL Entry
34
description: A certificate revocation list entry.

specification/models/runtime/ssl_crt_list.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
ssl_crt_list:
23
title: SSL Crt List
34
description: SSL Crt List file

specification/models/runtime/ssl_crt_list_entry.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
ssl_crt_list_entry:
23
title: SSL Crt List Entry
34
description: SSL Crt List Entry

specification/models/runtime/ssl_ocsp_response.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
ssl_ocsp_response:
23
title: SSL OCSP Response
34
description: SSL OCSP Response

0 commit comments

Comments
 (0)