Skip to content

Commit

Permalink
cli/command: ElectAuthServer: fix deprecation comment
Browse files Browse the repository at this point in the history
The comment was not formatted correctly, and because of that not picked up as
being deprecated.

updates b4ca1c7

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Mar 21, 2023
1 parent 235b501 commit e3fa728
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/command/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e3fa728

Please sign in to comment.