mirror of https://github.com/Aidaho12/haproxy-wi
Merge pull request #30 from cclauss/patch-1
Initialize oldstat at the top of the functionpull/42/head
commit
cf372cc176
|
@ -22,6 +22,7 @@ def main(serv, port):
|
||||||
port = str(port)
|
port = str(port)
|
||||||
firstrun = True
|
firstrun = True
|
||||||
currentstat = []
|
currentstat = []
|
||||||
|
oldstat = []
|
||||||
readstats = ""
|
readstats = ""
|
||||||
killer = GracefulKiller()
|
killer = GracefulKiller()
|
||||||
old_stat_service = ""
|
old_stat_service = ""
|
||||||
|
|
Loading…
Reference in New Issue