elasticsearch-plugin: fix local variable 'name' referenced before assignment (#3431)
This commit is contained in:
parent
82475637ef
commit
fa4b353da8
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ def install_plugin(module, plugin_bin, plugin_name, version, url, proxy_host, pr
|
|||
cmd_args = [plugin_bin, PACKAGE_STATE_MAP["present"], plugin_name]
|
||||
|
||||
if version:
|
||||
name = name + '/' + version
|
||||
plugin_name = plugin_name + '/' + version
|
||||
|
||||
if proxy_host and proxy_port:
|
||||
cmd_args.append("-DproxyHost=%s -DproxyPort=%s" % (proxy_host, proxy_port))
|
||||
|
|
Loading…
Reference in a new issue