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:
parent
4f36d7965e
commit
80d7e22f5e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue