Fix misuse of 'self' in lib/ansible/module_utils/network/eos/eos.py. … (#39074)

* Fix misuse of 'self' in lib/ansible/module_utils/network/eos/eos.py. Method load_config

* Fix all instances of self.config(self,...
This commit is contained in:
Eitan Akman 2018-04-23 06:10:34 -04:00 committed by Trishna Guha
parent 4f36d7965e
commit 80d7e22f5e

View file

@ -232,7 +232,7 @@ class Cli:
if not all((bool(use_session), self.supports_sessions)):
if commit:
return self.configure(self, commands)
return self.configure(commands)
else:
self._module.warn("EOS can not check config without config session")
result = {'changed': True}
@ -420,7 +420,7 @@ class Eapi:
if not all((bool(use_session), self.supports_sessions)):
if commit:
return self.configure(self, config)
return self.configure(config)
else:
self._module.warn("EOS can not check config without config session")
result = {'changed': True}