Commit Graph

9 Commits (f272ec4ca2e27c837c33e262305e3c31fcd97e27)

Author SHA1 Message Date
cclauss e74db7c856
Initialize oldstat at the top of the function
It is not essential but it is safer if the code is changed in the future...

[flake8](http://flake8.pycqa.org) testing of https://github.com/Aidaho12/haproxy-wi on Python 3.7.0

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
/home/travis/virtualenv/python3.7.0/lib/python3.7/site-packages/pycodestyle.py:113: FutureWarning: Possible nested set at position 1
  EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]')
./app/tools/checker_worker.py:70:27: F821 undefined name 'oldstat'
				if (currentstat[i] != oldstat[i] and currentstat[i]!="none") and ("FRONTEND" not in str(vips[i]) and "BACKEND" not in str(vips[i])):
                          ^
1     F821 undefined name 'oldstat'
1
```
2018-08-11 18:38:47 +02:00
Aidaho12 c0dbf08f23 v3.0
Most settings migrate into DB, improved install script, and haproxy install script
2018-08-11 20:47:47 +06:00
Aidaho12 3bf48cbdec v2.8 2018-08-07 11:32:14 +06:00
Aidaho12 b02cc2fc07 v2.8
Bugs
2018-08-05 20:37:14 +06:00
Aidaho12 2715ecab29 v2.7.3
Alerting about HAProxy service state
2018-07-30 09:09:26 +06:00
Aidaho12 eebbf4354f v.2.7.2.2
Checker alert message improved
2018-07-29 00:14:12 +06:00
Aidaho12 b92b3ea34a v2.7.2
Bugs
2018-07-25 12:28:33 +06:00
Aidaho12 897e3dd126 v2.7.1
New logs, bugs fixed
2018-07-24 10:08:06 +06:00
Aidaho12 e902002ec5 v2.7
Alerting about changes backends state
2018-07-23 13:08:43 +06:00