Remove dupe supports_session method from eos module_utils (#23240)

Fixes #23237
This commit is contained in:
Ricardo Carrillo Cruz 2017-04-04 00:46:10 +02:00 committed by GitHub
parent d85f4a443f
commit 2e89126af7

View file

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