diff options
author | Kazuhito Hagio <k-hagio@ab.jp.nec.com> | 2019-08-07 12:14:44 -0400 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2019-08-26 17:40:23 +0200 |
commit | b31788aeeb3acdce01435dd734d46f4edc06c051 (patch) | |
tree | 55e85a0f1360875aa66a287e4a15d642b3326d3d | |
parent | 7ceffc6cf1e0d6578bbddb53d5368307a3950066 (diff) | |
download | sos-b31788aeeb3acdce01435dd734d46f4edc06c051.tar.gz |
[plugins] Fix ignored parameters in get_cmd_output_now()
Currently the get_cmd_output_now() function does not pass
'suggest_filename' and 'root_symlink' parameters to
_get_cmd_output_now() function, so the parameters passed
from plugins are ignored. Let's fix this.
Resolves: #1745
Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index d08a20e0..9ca009df 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -1150,7 +1150,9 @@ class Plugin(object): (exe, self.get_predicate(cmd=True, pred=pred))) return None - return self._get_cmd_output_now(exe, timeout=timeout, stderr=stderr, + return self._get_cmd_output_now(exe, suggest_filename=suggest_filename, + root_symlink=root_symlink, + timeout=timeout, stderr=stderr, chroot=chroot, runat=runat, env=env, binary=binary, sizelimit=sizelimit) |