From 2e89126af7a4fbd1161f35d9859aea5dbd8a040a Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 4 Apr 2017 00:46:10 +0200 Subject: [PATCH] Remove dupe supports_session method from eos module_utils (#23240) Fixes #23237 --- lib/ansible/module_utils/eos.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/ansible/module_utils/eos.py b/lib/ansible/module_utils/eos.py index b65ed0701b..c2a0ac43ed 100644 --- a/lib/ansible/module_utils/eos.py +++ b/lib/ansible/module_utils/eos.py @@ -111,10 +111,6 @@ class Cli: rc, out, err = self.exec_command(cmd) return out.endswith('#') - def supports_sessions(self): - rc, out, err = self.exec_command('show configuration sessions') - return rc == 0 - def get_config(self, flags=[]): """Retrieves the current config from the device or cache """