mirror of https://github.com/docker/cli.git
cli/command/registry/login_test.go:66:25: unnecessary conversion (unconvert)
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
(cherry picked from commit 4be924a0af
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b2f6b4902c
commit
44c8cec274
|
@ -69,7 +69,7 @@ func TestLoginWithCredStoreCreds(t *testing.T) {
|
||||||
}
|
}
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
for _, tc := range testCases {
|
for _, tc := range testCases {
|
||||||
cli := (*test.FakeCli)(test.NewFakeCli(&fakeClient{}))
|
cli := test.NewFakeCli(&fakeClient{})
|
||||||
errBuf := new(bytes.Buffer)
|
errBuf := new(bytes.Buffer)
|
||||||
cli.SetErr(errBuf)
|
cli.SetErr(errBuf)
|
||||||
loginWithCredStoreCreds(ctx, cli, &tc.inputAuthConfig)
|
loginWithCredStoreCreds(ctx, cli, &tc.inputAuthConfig)
|
||||||
|
|
Loading…
Reference in New Issue