Skip to content

Commit 97c2e28

Browse files
committed
DOC/MINOR: configuration: fix configuration examples for reload strategy
1 parent 20626b6 commit 97c2e28

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

configuration/examples/example-dataplaneapi.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ haproxy {
2222
haproxy_bin = "/usr/local/sbin/haproxy"
2323

2424
reload {
25-
strategy = "custom"
25+
reload_strategy = "custom"
2626
reload_cmd = "kill -SIGUSR2 1"
2727
restart_cmd = "kill -SIGUSR2 1"
2828
}

configuration/examples/example-dataplaneapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ haproxy:
1414
config_file: /etc/haproxy/haproxy.cfg
1515
haproxy_bin: /usr/local/sbin/haproxy
1616
reload:
17-
strategy: custom
17+
reload_strategy: custom
1818
reload_cmd: kill -SIGUSR2 1
1919
restart_cmd: kill -SIGUSR2 1

configuration/examples/example-full.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ haproxy {
7979
status_cmd = "systemctl status haproxy"
8080
service_name = "haproxy.service"
8181
reload_retention = 1
82-
strategy = "custom"
82+
reload_strategy = "custom"
8383
validate_cmd = "null"
8484
}
8585
}

configuration/examples/example-full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ haproxy:
6565
status_cmd: "systemctl status haproxy"
6666
service_name: "haproxy.service"
6767
reload_retention: 1 # int 2
68-
strategy: custom
68+
reload_strategy: custom
6969
validate_cmd: null # string 2
7070
cluster:
7171
cluster_tls_dir: null # string

0 commit comments

Comments
 (0)