DockerCLI/cli/command/stack
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
..
formatter linting: fix incorrectly formatted errors (revive) 2022-03-28 10:37:25 +02:00
loader Update go:build comments to go1.21 2024-06-18 12:17:13 +02:00
options Add support for --detach/-d flag in stack rm 2024-03-04 09:56:53 +01:00
swarm cli/command: fix n-constant format string in call (govet) 2024-08-26 13:52:49 +02:00
testdata remove obsolete mutli-orchestrator support 2022-02-22 15:28:12 +01: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
common.go Drop support for (archived) Compose-on-Kubernetes 2022-02-22 13:47:34 +01:00
config.go golangci-lint: revive: enable import-shadowing 2023-11-20 19:52:41 +01:00
config_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
deploy.go Add support for --detach flag in stack deploy 2024-03-04 09:36:36 +01:00
deploy_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
list.go cli/command/stack: fix faulty sort for sorting stacks 2024-07-01 13:19:37 +02:00
list_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
ps.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
ps_test.go cli: improve argument validation output 2024-07-05 03:35:14 +02:00
remove.go Add support for --detach/-d flag in stack rm 2024-03-04 09:56:53 +01:00
remove_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00
services.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
services_test.go test spring-cleaning 2024-07-04 01:35:12 +02:00