From a3d56e7d067b38b98548a864436880eef526f971 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 22 Mar 2023 14:31:03 +0100 Subject: [PATCH] cli/command: remove deprecated ElectAuthServer() This function was deprecated in b4ca1c7368daeead400fcc1b8f2d61951a0d9d1e, which is part of the v23.0 release, and is no longer used, so we can remove it. Signed-off-by: Sebastiaan van Stijn --- cli/command/registry.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cli/command/registry.go b/cli/command/registry.go index 9958b7c0f8..8bfad12fd2 100644 --- a/cli/command/registry.go +++ b/cli/command/registry.go @@ -21,13 +21,6 @@ import ( "github.com/pkg/errors" ) -// ElectAuthServer returns the default registry to use. -// -// Deprecated: use [registry.IndexServer] instead. -func ElectAuthServer(_ context.Context, _ Cli) string { - return registry.IndexServer -} - // EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload func EncodeAuthToBase64(authConfig types.AuthConfig) (string, error) { buf, err := json.Marshal(authConfig)