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,...
pull/38891/merge
Eitan Akman 6 years ago committed by Trishna Guha
parent 4f36d7965e
commit 80d7e22f5e

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

Loading…
Cancel
Save