Skip to content

Commit

Permalink
Update error logs
Browse files Browse the repository at this point in the history
  • Loading branch information
akondur committed Nov 6, 2024
1 parent 789e478 commit 45ea9da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testenv/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ func ExecuteCommandOnOperatorPod(ctx context.Context, deployment *Deployment, po
command := []string{"/bin/sh"}
stdout, stderr, err := deployment.OperatorPodExecCommand(ctx, podName, command, stdin, false)
if err != nil {
logf.Log.Error(err, "Failed to execute command on pod", "pod", podName, "command", command)
logf.Log.Error(err, "Failed to execute command on pod", "pod", podName, "shell", command, "command", stdin)
return "", err
}
logf.Log.Info("Command executed", "on pod", podName, "command", command, "stdin", stdin, "stdout", stdout, "stderr", stderr)
Expand Down

0 comments on commit 45ea9da

Please sign in to comment.