Skip to content

Commit

Permalink
Remove dupe supports_session method from eos module_utils (ansible#23240
Browse files Browse the repository at this point in the history
  • Loading branch information
rcarrillocruz authored Apr 3, 2017
1 parent d85f4a4 commit 2e89126
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/ansible/module_utils/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ def check_authorization(self):
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
"""
Expand Down

0 comments on commit 2e89126

Please sign in to comment.