mirror of https://github.com/docker/cli.git
f969531205
```
cli/command/service/update_test.go:31:16: SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
updateService(nil, nil, flags, spec)
^
cli/command/service/update_test.go:535:16: SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
updateService(nil, nil, flags, spec)
^
cli/command/service/update_test.go:540:16: SA1012: do not pass a nil Context, even if a function permits it; pass context.TODO if you are unsure about which Context to use (staticcheck)
updateService(nil, nil, flags, spec)
^
```
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit
|
||
---|---|---|
.. | ||
progress | ||
testdata | ||
client_test.go | ||
cmd.go | ||
create.go | ||
create_test.go | ||
formatter.go | ||
formatter_test.go | ||
generic_resource_opts.go | ||
generic_resource_opts_test.go | ||
helpers.go | ||
inspect.go | ||
inspect_test.go | ||
list.go | ||
list_test.go | ||
logs.go | ||
opts.go | ||
opts_test.go | ||
parse.go | ||
ps.go | ||
ps_test.go | ||
remove.go | ||
rollback.go | ||
rollback_test.go | ||
scale.go | ||
trust.go | ||
update.go | ||
update_test.go |