diff --git a/cli/command/registry/login_test.go b/cli/command/registry/login_test.go index dc07f7413e..75bd6a3164 100644 --- a/cli/command/registry/login_test.go +++ b/cli/command/registry/login_test.go @@ -33,11 +33,11 @@ type fakeClient struct { client.Client } -func (c *fakeClient) Info(context.Context) (system.Info, error) { +func (*fakeClient) Info(context.Context) (system.Info, error) { return system.Info{}, nil } -func (c *fakeClient) RegistryLogin(_ context.Context, auth registrytypes.AuthConfig) (registrytypes.AuthenticateOKBody, error) { +func (*fakeClient) RegistryLogin(_ context.Context, auth registrytypes.AuthConfig) (registrytypes.AuthenticateOKBody, error) { if auth.Password == expiredPassword { return registrytypes.AuthenticateOKBody{}, errors.New("Invalid Username or Password") }