Skip to content

Commit 083e5ce

Browse files
committed
cli/command/registry: remove deprecated OauthLoginEscapeHatchEnvVar
This const was added in 846ecf5, but only used internally; commit 18cdc25 deprecated the const, which was included in the 28.4 release. This patch removes the exported const, as it's unused. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e241f53 commit 083e5ce

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cli/command/registry/login.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,6 @@ func loginWithStoredCredentials(ctx context.Context, dockerCLI command.Cli, auth
183183
return response.Status, err
184184
}
185185

186-
// OauthLoginEscapeHatchEnvVar disables the browser-based OAuth login workflow.
187-
//
188-
// Deprecated: this const was only used internally and will be removed in the next release.
189-
const OauthLoginEscapeHatchEnvVar = "DOCKER_CLI_DISABLE_OAUTH_LOGIN"
190-
191186
const oauthLoginEscapeHatchEnvVar = "DOCKER_CLI_DISABLE_OAUTH_LOGIN"
192187

193188
func isOauthLoginDisabled() bool {

0 commit comments

Comments
 (0)