From e68b61af018a85b8ea129f52f6571574b34d7226 Mon Sep 17 00:00:00 2001 From: vishnuchalla Date: Sat, 26 Oct 2024 15:06:51 -0400 Subject: [PATCH] Remove redundant StdOut and StdError for cmd (#131) --- pkg/workerscale/utils.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/workerscale/utils.go b/pkg/workerscale/utils.go index 999e2695..d799588a 100644 --- a/pkg/workerscale/utils.go +++ b/pkg/workerscale/utils.go @@ -146,8 +146,6 @@ func runRosaWithLogin(args ...string) ([]byte, error) { fullCommand := fmt.Sprintf("%s && %s", loginCommand, mainCommand) cmd := exec.Command("bash", "-c", fullCommand) - cmd.Stdout = os.Stdout - cmd.Stderr = os.Stderr cmd.Env = os.Environ() output, err := cmd.CombinedOutput()