From 92d9e3bf6927b0bf3674db5f0d30b3272aa8fdac Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 30 Mar 2023 16:31:15 +0200 Subject: [PATCH] cli/command/network: fakeClient: remove name for unused arg (revive) cli/command/network/client_test.go:55:44: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (c *fakeClient) NetworkInspectWithRaw(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error) { ^ Signed-off-by: Sebastiaan van Stijn --- cli/command/network/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/network/client_test.go b/cli/command/network/client_test.go index 38d942e23d..18c91e251d 100644 --- a/cli/command/network/client_test.go +++ b/cli/command/network/client_test.go @@ -52,6 +52,6 @@ func (c *fakeClient) NetworkRemove(ctx context.Context, networkID string) error return nil } -func (c *fakeClient) NetworkInspectWithRaw(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error) { +func (c *fakeClient) NetworkInspectWithRaw(context.Context, string, types.NetworkInspectOptions) (types.NetworkResource, []byte, error) { return types.NetworkResource{}, nil, nil }