Skip to content

Commit

Permalink
Fix in get api for eric_eccli cliconf plugin (ansible#61507)
Browse files Browse the repository at this point in the history
Fixes ansible#60674

*  Fix get() API signature for eric_eccli cliconf plugin
   to work with cli_command module.
  • Loading branch information
ganeshrn authored Aug 29, 2019
1 parent aa58bb9 commit d7845da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ansible/plugins/cliconf/eric_eccli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ def get_config(self, source='running', flags=None, format=None):
def edit_config(self, candidate=None, commit=True, replace=None, comment=None):
return

def get(self, command=None, prompt=None, answer=None, sendonly=False, output=None, check_all=False):
def get(self, command=None, prompt=None, answer=None, sendonly=False, output=None, newline=True, check_all=False):
if not command:
raise ValueError('must provide value of command to execute')
if output:
raise ValueError("'output' value %s is not supported for get" % output)

return self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, check_all=check_all)
return self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, newline=newline, check_all=check_all)

def get_device_info(self):
device_info = {}
Expand Down

0 comments on commit d7845da

Please sign in to comment.