elasticsearch_plugin: Fix bug when using proxy (#2603) (#2838)

This commit is contained in:
Thierno IB. BARRY 2016-09-04 09:47:02 +02:00 committed by Matt Clay
parent 5de3dbbf6d
commit bc55db2ff0

View file

@ -167,7 +167,7 @@ def main():
cmd_args = [plugin_bin, package_state_map[state], name]
if proxy_host and proxy_port:
cmd_args.append("-DproxyHost=%s -DproxyPort=%s" % proxy_host, proxy_port)
cmd_args.append("-DproxyHost=%s -DproxyPort=%s" % (proxy_host, proxy_port))
if url:
cmd_args.append("--url %s" % url)