Skip to content

Commit ff7111a

Browse files
committed
cli/command: remove deprecated EncodeAuthToBase64
This function was deprecated in b87ed34, which is part of the v24.0 release, so we can remove it from master. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent bc3f905 commit ff7111a

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

cli/command/registry.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ import (
1919
"github.com/pkg/errors"
2020
)
2121

22-
// EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload.
23-
//
24-
// Deprecated: use [registrytypes.EncodeAuthConfig] instead.
25-
func EncodeAuthToBase64(authConfig registrytypes.AuthConfig) (string, error) {
26-
return registrytypes.EncodeAuthConfig(authConfig)
27-
}
28-
2922
// RegistryAuthenticationPrivilegedFunc returns a RequestPrivilegeFunc from the specified registry index info
3023
// for the given command.
3124
func RegistryAuthenticationPrivilegedFunc(cli Cli, index *registrytypes.IndexInfo, cmdName string) types.RequestPrivilegeFunc {

0 commit comments

Comments
 (0)