Skip to content

Commit 39d53d8

Browse files
authored
Merge pull request #18 from crovner/master
connected_socket(): fix validation check for HAPEE >= 2.1
2 parents a49d8b5 + fb7b416 commit 39d53d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haproxyadmin/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def connected_socket(path):
190190
unix_socket.close()
191191

192192
try:
193-
return hap_info['Name'] == 'HAProxy'
193+
return hap_info['Name'] in ['HAProxy', 'hapee-lb']
194194
except KeyError:
195195
return False
196196

0 commit comments

Comments
 (0)