fix NameError eos_config (#27684)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/27689/head
Trishna Guha 9 years ago committed by GitHub
parent 987ad8993c
commit 3d446b2fab

@ -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}

Loading…
Cancel
Save