mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -07:00
remove the stdin return value from connection plugin exec_command() methods
The value was useless -- unused by the callers and always hardcoded to the empty string.
This commit is contained in:
parent
9d47eabfa4
commit
03127dcfae
14 changed files with 18 additions and 14 deletions
|
@ -202,7 +202,7 @@ class Connection(ConnectionBase):
|
|||
raise AnsibleError("failed to exec cmd %s" % cmd)
|
||||
result.std_out = to_unicode(result.std_out)
|
||||
result.std_err = to_unicode(result.std_err)
|
||||
return (result.status_code, '', result.std_out, result.std_err)
|
||||
return (result.status_code, result.std_out, result.std_err)
|
||||
|
||||
def put_file(self, in_path, out_path):
|
||||
super(Connection, self).put_file(in_path, out_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue