mirror of https://github.com/docker/cli.git
9dd012aa5d
I could either remove the name for these contexts, or make the fake functions more accurately reflect the actual implementation (decided to go for the latter one) cli/command/secret/client_test.go:19:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (c *fakeClient) SecretCreate(ctx context.Context, spec swarm.SecretSpec) (types.SecretCreateResponse, error) { ^ cli/command/secret/client_test.go:26:43: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (c *fakeClient) SecretInspectWithRaw(ctx context.Context, id string) (swarm.Secret, []byte, error) { ^ cli/command/secret/client_test.go:33:33: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (c *fakeClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error) { ^ cli/command/secret/client_test.go:40:35: unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive) func (c *fakeClient) SecretRemove(ctx context.Context, name string) error { ^ Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
testdata | ||
client_test.go | ||
cmd.go | ||
create.go | ||
create_test.go | ||
formatter.go | ||
formatter_test.go | ||
inspect.go | ||
inspect_test.go | ||
ls.go | ||
ls_test.go | ||
remove.go | ||
remove_test.go |