File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,9 @@ import (
2121 "github.com/pkg/errors"
2222)
2323
24- // ElectAuthServer returns the default registry to use
25- // Deprecated: use registry.IndexServer instead
24+ // ElectAuthServer returns the default registry to use.
25+ //
26+ // Deprecated: use [registry.IndexServer] instead.
2627func ElectAuthServer (_ context.Context , _ Cli ) string {
2728 return registry .IndexServer
2829}
Original file line number Diff line number Diff line change @@ -6,16 +6,13 @@ import (
66 "fmt"
77 "testing"
88
9- "gotest.tools/v3/assert"
10- is "gotest.tools/v3/assert/cmp"
11-
12- // Prevents a circular import with "github.com/docker/cli/internal/test"
13-
14- . "github.com/docker/cli/cli/command"
9+ . "github.com/docker/cli/cli/command" // Prevents a circular import with "github.com/docker/cli/internal/test"
1510 configtypes "github.com/docker/cli/cli/config/types"
1611 "github.com/docker/cli/internal/test"
1712 "github.com/docker/docker/api/types"
1813 "github.com/docker/docker/client"
14+ "gotest.tools/v3/assert"
15+ is "gotest.tools/v3/assert/cmp"
1916)
2017
2118type fakeClient struct {
You can’t perform that action at this time.
0 commit comments