Skip to content

Commit

Permalink
Merge pull request #18 from crovner/master
Browse files Browse the repository at this point in the history
connected_socket(): fix validation check for HAPEE >= 2.1
  • Loading branch information
unixsurfer authored Apr 10, 2020
2 parents a49d8b5 + fb7b416 commit 39d53d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haproxyadmin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def connected_socket(path):
unix_socket.close()

try:
return hap_info['Name'] == 'HAProxy'
return hap_info['Name'] in ['HAProxy', 'hapee-lb']
except KeyError:
return False

Expand Down

0 comments on commit 39d53d8

Please sign in to comment.