Skip to content

Commit

Permalink
Merge pull request #5551 from thaJeztah/fix_ConfigureAuth_deprecation
Browse files Browse the repository at this point in the history
cli/command: ConfigureAuth: fix deprecation comment
  • Loading branch information
thaJeztah authored Oct 21, 2024
2 parents 8b6133a + 54e3685 commit 24ee5f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/command/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ func GetDefaultAuthConfig(cfg *configfile.ConfigFile, checkCredStore bool, serve
}

// ConfigureAuth handles prompting of user's username and password if needed.
// Deprecated: use PromptUserForCredentials instead.
//
// Deprecated: use [PromptUserForCredentials] instead.
func ConfigureAuth(ctx context.Context, cli Cli, flUser, flPassword string, authConfig *registrytypes.AuthConfig, _ bool) error {
defaultUsername := authConfig.Username
serverAddress := authConfig.ServerAddress
Expand Down

0 comments on commit 24ee5f2

Please sign in to comment.