mirror of https://github.com/docker/cli.git
cli/command: ElectAuthServer: fix deprecation comment
The comment was not formatted correctly, and because of that not picked up as being deprecated. updatesb4ca1c7368
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commite3fa7280ad
) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
288b6c79fe
commit
e2c402118c
|
@ -21,8 +21,9 @@ import (
|
|||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// ElectAuthServer returns the default registry to use
|
||||
// Deprecated: use registry.IndexServer instead
|
||||
// ElectAuthServer returns the default registry to use.
|
||||
//
|
||||
// Deprecated: use [registry.IndexServer] instead.
|
||||
func ElectAuthServer(_ context.Context, _ Cli) string {
|
||||
return registry.IndexServer
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue