Changelog: https://haproxy-wi.org/changelog.py#4
pull/217/head
Pavel Loginov 2020-02-26 19:32:27 +01:00
parent a7e6c0a324
commit 8e33d7463a
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ def update_db_v_42(**kwargs):
con.commit()
except sqltool.Error as e:
if kwargs.get('silent') != 1:
if e.args[0] == 'duplicate column name: nginx' or e == " 1060 (42S21): Duplicate column name 'nginx' ":
if e.args[0] == 'duplicate column name: haproxy' or e == " 1060 (42S21): Duplicate column name 'haproxy' ":
print('DB was update to 4.0.0')
else:
print("An error occurred:", e)