From 2d4c71add61666b65c812388a501ffa7d1d9abfd Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 14 Feb 2024 00:33:20 -0500 Subject: [PATCH] fix: stream both stdout and stderr --- plugins/registry/subcommands.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/registry/subcommands.go b/plugins/registry/subcommands.go index d25046bf1..bce13ffe8 100644 --- a/plugins/registry/subcommands.go +++ b/plugins/registry/subcommands.go @@ -40,10 +40,10 @@ func CommandLogin(server string, username string, password string, passwordStdin buffer.Write([]byte(password + "\n")) result, err := common.CallExecCommand(common.ExecCommandInput{ - Command: common.DockerBin(), - Args: []string{"login", "--username", username, "--password-stdin", server}, - Stdin: &buffer, - StreamStderr: true, + Command: common.DockerBin(), + Args: []string{"login", "--username", username, "--password-stdin", server}, + Stdin: &buffer, + StreamStdio: true, }) if err != nil { return fmt.Errorf("Unable to run docker login: %w", err)