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.
updates b4ca1c7368
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
235b501b71
commit
e3fa7280ad
|
@ -21,8 +21,9 @@ import (
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ElectAuthServer returns the default registry to use
|
// ElectAuthServer returns the default registry to use.
|
||||||
// Deprecated: use registry.IndexServer instead
|
//
|
||||||
|
// Deprecated: use [registry.IndexServer] instead.
|
||||||
func ElectAuthServer(_ context.Context, _ Cli) string {
|
func ElectAuthServer(_ context.Context, _ Cli) string {
|
||||||
return registry.IndexServer
|
return registry.IndexServer
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue