2 parents bfe87fd + a3d56e7 commit 1448258Copy full SHA for 1448258
1 file changed
cli/command/registry.go
@@ -21,13 +21,6 @@ import (
21
"github.com/pkg/errors"
22
)
23
24
-// ElectAuthServer returns the default registry to use.
25
-//
26
-// Deprecated: use [registry.IndexServer] instead.
27
-func ElectAuthServer(_ context.Context, _ Cli) string {
28
- return registry.IndexServer
29
-}
30
-
31
// EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload
32
func EncodeAuthToBase64(authConfig types.AuthConfig) (string, error) {
33
buf, err := json.Marshal(authConfig)
0 commit comments