diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2016-06-29 14:51:00 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-06-29 14:51:00 +0100 |
commit | c72f2e1f3a13713a9902a8ee42857d124ff72933 (patch) | |
tree | e88136f680fa77237f84cd38fa658d787c1b15f4 | |
parent | 047a207b8f3d90ac8e4223cec0b6de44c1a36611 (diff) | |
download | sos-c72f2e1f3a13713a9902a8ee42857d124ff72933.tar.gz |
[kubernetes] fix string substitution
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/kubernetes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py index e0b3a96c..176ccb41 100644 --- a/sos/plugins/kubernetes.py +++ b/sos/plugins/kubernetes.py @@ -113,7 +113,7 @@ class kubernetes(Plugin, RedHatPlugin): if self.get_option('podlogs'): k_cmd = '%s get %s' % (kube_cmd, knsp) - r = self.get_command_output('$s get pods' % k_cmd) + r = self.get_command_output('%s get pods' % k_cmd) if r['status'] == 0: pods = [p.split()[0] for p in r['output'].splitlines()[1:]] |