issue #409: fix reference error in kubectl.py.
This commit is contained in:
parent
05f9fb4dd8
commit
a68675af8b
|
@ -64,7 +64,7 @@ class Connection(ansible_mitogen.connection.Connection):
|
|||
|
||||
def get_extra_args(self):
|
||||
parameters = []
|
||||
for key, option in iteritems(ansible.plugins.connection.kubectl.CONNECTION_OPTIONS):
|
||||
for key, option in iteritems(kubectl.CONNECTION_OPTIONS):
|
||||
if self.get_task_var('ansible_' + key) is not None:
|
||||
parameters += [ option, self.get_task_var('ansible_' + key) ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue