DockerCLI/cli/command/manifest
Sebastiaan van Stijn 002cfcde85
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>
(cherry picked from commit f101f07a7b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-08-26 14:38:40 +02:00
..
testdata manifest: save raw manifest content on download 2023-01-27 13:56:17 +00:00
annotate.go Added support for setting OS version in docker manifest annotate. 2020-06-12 12:04:03 -07:00
annotate_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
client_test.go migrate reference github.com/distribution/reference 2023-09-05 17:53:20 +02:00
cmd.go cli/command: fix n-constant format string in call (govet) 2024-08-26 14:38:40 +02:00
create_list.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
create_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
inspect.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
inspect_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
push.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
push_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
rm.go Plumb contexts through commands 2023-12-12 22:30:16 +01:00
rm_test.go test spring-cleaning 2024-07-19 13:37:27 +02:00
util.go migrate reference github.com/distribution/reference 2023-09-05 17:53:20 +02:00