Skip to content

Commit 8b8ce22

Browse files
authored
Merge pull request #4203 from thaJeztah/deprecate_EncodeAuthToBase64
cli/command: deprecate EncodeAuthToBase64 (take 2)
2 parents c25115e + b87ed34 commit 8b8ce22

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/command/registry.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import (
2020
)
2121

2222
// EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload.
23+
//
24+
// Deprecated: use [registrytypes.EncodeAuthConfig] instead.
2325
func EncodeAuthToBase64(authConfig registrytypes.AuthConfig) (string, error) {
2426
return registrytypes.EncodeAuthConfig(authConfig)
2527
}

0 commit comments

Comments
 (0)