aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/KubernetesUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python/KubernetesUtils.py')
-rw-r--r--resources/libraries/python/KubernetesUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/KubernetesUtils.py b/resources/libraries/python/KubernetesUtils.py
index ceeab0b07e..89c5bd2a57 100644
--- a/resources/libraries/python/KubernetesUtils.py
+++ b/resources/libraries/python/KubernetesUtils.py
@@ -320,7 +320,7 @@ class KubernetesUtils(object):
cmd = "for p in $(kubectl get pods {nspace} -o jsonpath="\
"'{{.items[*].metadata.name}}'); do echo $p; kubectl logs "\
"{nspace} $p; done".format(nspace=nspace)
- ssh.exec_command_sudo(cmd)
+ ssh.exec_command(cmd)
@staticmethod
def get_kubernetes_logs_on_all_duts(nodes, nspace):