Fix .cfg
This commit is contained in:
parent
2e4fadf653
commit
536e0d4b09
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue