DockerCLI/cli/command/service
Sebastiaan van Stijn f101f07a7b
cli/command: fix n-constant format string in call (govet)
cli/command/utils.go:225:29: printf: non-constant format string in call to github.com/pkg/errors.Wrapf (govet)
                return errors.Wrapf(err, fmt.Sprintf("invalid output path: %q must be a directory or a regular file", path))
                                         ^
    cli/command/manifest/cmd.go:21:33: printf: non-constant format string in call to fmt.Fprintf (govet)
                fmt.Fprintf(dockerCli.Err(), "\n"+cmd.UsageString())
                                             ^
    cli/command/service/remove.go:45:24: printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
            return errors.Errorf(strings.Join(errs, "\n"))
                                 ^
    cli/command/service/scale.go:93:23: printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
        return errors.Errorf(strings.Join(errs, "\n"))
                             ^
    cli/command/stack/swarm/remove.go:74:24: printf: non-constant format string in call to github.com/pkg/errors.Errorf (govet)
            return errors.Errorf(strings.Join(errs, "\n"))
                                 ^

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-26 13:52:49 +02:00
..
progress linting: fmt.Sprintf can be replaced with string concatenation (perfsprint) 2024-06-10 21:19:32 +02:00
testdata Add support for --limit-pids on service create / update (swarm) 2020-06-18 21:25:02 +02:00
client_test.go vendor: github.com/docker/docker c6aaabc9fc82 (master / v27.0.0-dev) 2024-06-05 16:29:55 +02:00
cmd.go cli/command: use shallower interface for completions 2024-06-04 12:04:11 +02:00
create.go Allow for OomScoreAdj 2024-07-19 13:02:01 -04:00
create_test.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
formatter.go vendor: github.com/docker/docker c6aaabc9fc82 (master / v27.0.0-dev) 2024-06-05 16:29:55 +02:00
formatter_test.go Update go:build comments to go1.21 2024-06-18 12:17:13 +02:00
generic_resource_opts.go linting: Consider pre-allocating sliceVar (prealloc) 2023-11-20 16:02:16 +01:00
generic_resource_opts_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-23 00:28:55 +01:00
helpers.go Add support for --detach flag in stack deploy 2024-03-04 09:36:36 +01:00
inspect.go Update go:build comments to go1.21 2024-06-18 12:17:13 +02:00
inspect_test.go Update go:build comments to go1.21 2024-06-18 12:17:13 +02:00
list.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
list_test.go linting: address assorted issues found by gocritic 2023-11-20 16:02:16 +01:00
logs.go linting: fmt.Sprintf can be replaced with string concatenation (perfsprint) 2024-06-10 21:19:32 +02:00
opts.go Allow for OomScoreAdj 2024-07-19 13:02:01 -04:00
opts_test.go vendor: github.com/docker/docker c6aaabc9fc82 (master / v27.0.0-dev) 2024-06-05 16:29:55 +02:00
parse.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
ps.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
ps_test.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
remove.go cli/command: fix n-constant format string in call (govet) 2024-08-26 13:52:49 +02:00
rollback.go Add support for --detach flag in stack deploy 2024-03-04 09:36:36 +01:00
rollback_test.go cli: improve argument validation output 2024-07-05 03:35:14 +02:00
scale.go cli/command: fix n-constant format string in call (govet) 2024-08-26 13:52:49 +02:00
trust.go migrate reference github.com/distribution/reference 2023-09-05 17:53:20 +02:00
update.go Allow for OomScoreAdj 2024-07-19 13:02:01 -04:00
update_test.go vendor: github.com/docker/docker 1a1f3cff45ec (master, v27.0-dev) 2024-06-20 13:04:54 +02:00