1
0
Fork 0
This commit is contained in:
Joao Gilberto Magalhaes 2018-10-04 21:31:01 -05:00
parent 2e4fadf653
commit 536e0d4b09

View file

@ -94,7 +94,7 @@ backend srv_{1}_{0}
return result return result
parsed = yaml.load("/etc/haproxy/haproxy.cfg") parsed = yaml.load("/etc/easyconfig/easyconfig.cfg")
print(defaults(parsed["customerrors"] if "customerrors" in parsed else False)) print(defaults(parsed["customerrors"] if "customerrors" in parsed else False))
if "stats" in parsed: if "stats" in parsed: