Skip to content
Browse files
fix(kube-run): better log message when command failed
Signed-off-by: Ilya Lesikov <>
  • Loading branch information
ilya-lesikov committed Jun 2, 2022
1 parent 3b5789c commit 6551c8e30c08ea585e61dd7d816844f845c08052
Showing 1 changed file with 1 addition and 1 deletion.
@@ -776,7 +776,7 @@ func execCommandInPod(ctx context.Context, namespace, pod, container string, com

if err := cmd.Run(); err != nil {
return fmt.Errorf("error exec'ing into pod %s/%s: %w", namespace, pod, err)
return fmt.Errorf("error running command %q in pod %s/%s: %w", cmd, namespace, pod, err)

return nil

0 comments on commit 6551c8e

Please sign in to comment.