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>
(cherry picked from commit e3fa7280ad)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-03-21 16:53:03 +01:00
parent 288b6c79fe
commit e2c402118c
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 3 additions and 2 deletions

View File

@ -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
} }