aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/kubernetes.py2
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:]]