Skip to content

Commit

Permalink
core: print version info only once
Browse files Browse the repository at this point in the history
there was extra `fmt.Print()` in method `RunCommandInOperatorPod`
due to which command output was printed two times.

fixes: #118
Signed-off-by: subhamkrai <[email protected]>
  • Loading branch information
subhamkrai committed Jun 14, 2023
1 parent d696d1f commit b9a1cea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func RunCommandInOperatorPod(ctx context.Context, clientsets *k8sutil.Clientsets
if !returnOutput {
return ""
}
fmt.Println(stdout.String())

fmt.Print(stderr.String())
return stdout.String()
Expand Down

0 comments on commit b9a1cea

Please sign in to comment.