Skip to content

Commit 1448258

Browse files
authored
Merge pull request #4110 from thaJeztah/remove_ElectAuthServer
cli/command: remove deprecated ElectAuthServer()
2 parents bfe87fd + a3d56e7 commit 1448258

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
@@ -21,13 +21,6 @@ import (
2121
"github.com/pkg/errors"
2222
)
2323

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-
3124
// EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload
3225
func EncodeAuthToBase64(authConfig types.AuthConfig) (string, error) {
3326
buf, err := json.Marshal(authConfig)

0 commit comments

Comments
 (0)