Skip to content

Commit 45b5af6

Browse files
committed
Quote yes in declarative example YAML
Yes is interpreted by YAML as a boolean value [1], which prevents the value from syncing to `config.xml` properly. Quoting to force interpretation as a string allows the sync to produce e.g. `<forwardfor>yes</forwardfor>`. [1]: https://yaml.org/type/bool.html
1 parent 968ea68 commit 45b5af6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/declarative-example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,11 @@ data:
111111
definition:
112112
name: some-frontend-name
113113
type: http
114-
forwardfor: yes
114+
forwardfor: "yes"
115115
status: active
116116
backend_serverpool: some-backend-name
117117
a_extaddr:
118118
item:
119119
- extaddr: wan_ipv4
120120
extaddr_port: 443
121-
extaddr_ssl: yes
121+
extaddr_ssl: "yes"

0 commit comments

Comments
 (0)