fix: do not stream output from login/logout commands

This commit is contained in:
Jose Diaz-Gonzalez committed 2026-01-10 02:30:27 -05:00
1 parent 2123201410
commit b9ede65d6e
1 file changed
-2
-2
View File
@@ -56,7 +56,6 @@ func CommandLogin(appName string, server string, username string, password strin
Args: []string{"login", "--username", username, "--password-stdin", server},
Env: env,
Stdin: &buffer,
StreamStdio: true,
})
if err != nil {
return fmt.Errorf("Unable to run docker login: %w", err)
@@ -107,7 +106,6 @@ func CommandLogout(appName string, server string) error {
Command: common.DockerBin(),
Args: []string{"logout", server},
Env: env,
StreamStdio: true,
})
if err != nil {
return fmt.Errorf("Unable to run docker logout: %w", err)