From a68675af8bb6810bf34e5c1d20078c01bba3aeb5 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 31 Oct 2018 12:39:43 +0000 Subject: [PATCH] issue #409: fix reference error in kubectl.py. --- ansible_mitogen/plugins/connection/mitogen_kubectl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_mitogen/plugins/connection/mitogen_kubectl.py b/ansible_mitogen/plugins/connection/mitogen_kubectl.py index 855b4ec0..2dab131b 100644 --- a/ansible_mitogen/plugins/connection/mitogen_kubectl.py +++ b/ansible_mitogen/plugins/connection/mitogen_kubectl.py @@ -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) ]