mirror of https://github.com/docker/cli.git
Merge pull request #4203 from thaJeztah/deprecate_EncodeAuthToBase64
cli/command: deprecate EncodeAuthToBase64 (take 2)
This commit is contained in:
commit
8b8ce2276b
|
@ -20,6 +20,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload.
|
// EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload.
|
||||||
|
//
|
||||||
|
// Deprecated: use [registrytypes.EncodeAuthConfig] instead.
|
||||||
func EncodeAuthToBase64(authConfig registrytypes.AuthConfig) (string, error) {
|
func EncodeAuthToBase64(authConfig registrytypes.AuthConfig) (string, error) {
|
||||||
return registrytypes.EncodeAuthConfig(authConfig)
|
return registrytypes.EncodeAuthConfig(authConfig)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue