From 3d446b2fab93021932f497a8be9b4945d4bccf0d Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Thu, 3 Aug 2017 11:39:53 +0530 Subject: fix NameError eos_config (#27684) Signed-off-by: Trishna Guha --- lib/ansible/module_utils/eos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ansible') diff --git a/lib/ansible/module_utils/eos.py b/lib/ansible/module_utils/eos.py index 75d21cda85..1d38c08a03 100644 --- a/lib/ansible/module_utils/eos.py +++ b/lib/ansible/module_utils/eos.py @@ -222,7 +222,7 @@ class Cli: pass if not all((bool(use_session), self.supports_sessions)): - return configure(self, commands) + return self.configure(self, commands) conn = get_connection(self) session = 'ansible_%s' % int(time.time()) @@ -395,7 +395,7 @@ class Eapi: there will be no returned diff or session values """ if not self.supports_sessions: - return configure(self, commands) + return self.configure(self, commands) session = 'ansible_%s' % int(time.time()) result = {'session': session} -- cgit v1.2.1