diff --git a/lib/ansible/module_utils/network/eos/eos.py b/lib/ansible/module_utils/network/eos/eos.py index d254ea71d7..22bf86f6ee 100644 --- a/lib/ansible/module_utils/network/eos/eos.py +++ b/lib/ansible/module_utils/network/eos/eos.py @@ -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}