diff --git a/cli/command/container/client_test.go b/cli/command/container/client_test.go index 6da7b4e105..61bf4c9ec8 100644 --- a/cli/command/container/client_test.go +++ b/cli/command/container/client_test.go @@ -75,7 +75,7 @@ func (f *fakeClient) ContainerExecInspect(_ context.Context, execID string) (con return container.ExecInspect{}, nil } -func (f *fakeClient) ContainerExecStart(context.Context, string, container.ExecStartOptions) error { +func (*fakeClient) ContainerExecStart(context.Context, string, container.ExecStartOptions) error { return nil } diff --git a/cli/command/container/create_test.go b/cli/command/container/create_test.go index c02ed14fb5..a5a09ce54a 100644 --- a/cli/command/container/create_test.go +++ b/cli/command/container/create_test.go @@ -380,5 +380,5 @@ func TestCreateContainerWithProxyConfig(t *testing.T) { type fakeNotFound struct{} -func (f fakeNotFound) NotFound() {} -func (f fakeNotFound) Error() string { return "error fake not found" } +func (fakeNotFound) NotFound() {} +func (fakeNotFound) Error() string { return "error fake not found" }