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:
David Shrewsbury
2012-10-29 14:25:28 -04:00
parent d54272bf57
commit 5f23c3f60b

View File

@@ -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()