Pass services driver path to HAProxy driver.
Bug fix. Wasn't passing the full path to the OS services driver for HAProxy. Change-Id: I86c822d76b0c9d6c2a33964814f1484f4c56943e
This commit is contained in:
@@ -145,7 +145,8 @@ def main():
|
||||
driver_class = importutils.import_class(known_drivers[args.driver])
|
||||
|
||||
if args.driver == 'haproxy':
|
||||
driver = driver_class(args.haproxy_service)
|
||||
logger.info("Selected HAProxy service: %s" % args.haproxy_service)
|
||||
driver = driver_class(haproxy_services[args.haproxy_service])
|
||||
else:
|
||||
driver = driver_class()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user