[WORKER] Check for zero-length monitor path
Change-Id: Ia799ec2bab281528c9547b2e3219f80ff4be2231
This commit is contained in:
@@ -296,7 +296,7 @@ class HAProxyDriver(LoadBalancerDriver):
|
||||
attempts = 2
|
||||
if timeout is None:
|
||||
timeout = delay
|
||||
if path is None:
|
||||
if (path is None) or (len(path) == 0):
|
||||
path = '/'
|
||||
|
||||
if path[0] != '/':
|
||||
|
||||
Reference in New Issue
Block a user