From c558309fc3646957d8a399947cf7f7bbe4b06fd0 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Wed, 14 Jun 2023 08:19:42 +0530 Subject: [PATCH] core: print version info only once there was extra `fmt.Print()` in method `RunCommandInOperatorPod` due to which command output was printed two times. fixes: #118 Signed-off-by: subhamkrai --- pkg/exec/exec.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/exec/exec.go b/pkg/exec/exec.go index 73d335ec..be792af9 100644 --- a/pkg/exec/exec.go +++ b/pkg/exec/exec.go @@ -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()