Skip to content

Commit eed4863

Browse files
committed
TEST/MINOR: aligning configuration file to new snake case format
1 parent 84856bb commit eed4863

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

e2e/fixtures/dataplaneapi.hcl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,29 @@ dataplaneapi {
55
port = 8080
66

77
userlist {
8-
userlist-file = "/etc/haproxy/userlist.cfg"
8+
userlist_file = "/etc/haproxy/userlist.cfg"
99
}
1010

1111
resources {
12-
maps-dir = "/etc/haproxy/maps"
13-
ssl-certs-dir = "/etc/haproxy/ssl"
14-
spoe-dir = "/etc/haproxy/spoe"
12+
maps_dir = "/etc/haproxy/maps"
13+
ssl_certs_dir = "/etc/haproxy/ssl"
14+
spoe_dir = "/etc/haproxy/spoe"
1515
}
1616

1717
}
1818

1919
log {
20-
log-to = "file"
21-
log-file = "/var/log/dataplaneapi.log"
22-
log-level = "debug"
20+
log_to = "file"
21+
log_file = "/var/log/dataplaneapi.log"
22+
log_level = "debug"
2323
}
2424

2525
haproxy {
26-
config-file = "/etc/haproxy/haproxy.cfg"
27-
haproxy-bin = "/usr/local/sbin/haproxy"
26+
config_file = "/etc/haproxy/haproxy.cfg"
27+
haproxy_bin = "/usr/local/sbin/haproxy"
2828

2929
reload {
30-
reload-cmd = "kill -SIGUSR2 1"
31-
restart-cmd = "kill -SIGUSR2 1"
30+
reload_cmd = "kill -SIGUSR2 1"
31+
restart_cmd = "kill -SIGUSR2 1"
3232
}
3333
}

e2e/tests/set_uid/dataplaneapi.hcl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ dataplaneapi {
66
uid = 1500
77

88
userlist {
9-
userlist-file = "/etc/haproxy/userlist.cfg"
9+
userlist_file = "/etc/haproxy/userlist.cfg"
1010
}
1111

1212
resources {
13-
maps-dir = "/home/testuiduser/maps"
14-
ssl-certs-dir = "/home/testuiduser/ssl"
15-
spoe-dir = "/home/testuiduser/spoe"
16-
spoe-transaction-dir = "/home/testuiduser/spoe-td"
13+
maps_dir = "/home/testuiduser/maps"
14+
ssl_certs_dir = "/home/testuiduser/ssl"
15+
spoe_dir = "/home/testuiduser/spoe"
16+
spoe_transaction_dir = "/home/testuiduser/spoe-td"
1717
}
1818
}
1919

2020
haproxy {
21-
config-file = "/home/testuiduser/haproxy.cfg"
22-
haproxy-bin = "/usr/local/sbin/haproxy"
21+
config_file = "/home/testuiduser/haproxy.cfg"
22+
haproxy_bin = "/usr/local/sbin/haproxy"
2323

2424
reload {
25-
reload-cmd = "kill -SIGUSR2 1"
26-
restart-cmd = "kill -SIGUSR2 1"
25+
reload_cmd = "kill -SIGUSR2 1"
26+
restart_cmd = "kill -SIGUSR2 1"
2727
}
2828
}

0 commit comments

Comments
 (0)