Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit c97d296

Browse files
committed
Chris's nits
Signed-off-by: Simon Ferquel <[email protected]>
1 parent f090113 commit c97d296

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

cmd/docker-app/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func pushCmd(dockerCli command.Cli) *cobra.Command {
4040
},
4141
}
4242
flags := cmd.Flags()
43-
flags.StringVarP(&opts.tag, "tag", "t", "", "Target registry reference (default is : <name>:<version> from metadata)")
43+
flags.StringVarP(&opts.tag, "tag", "t", "", "Target registry reference (default: <name>:<version> from metadata)")
4444
opts.registry.addFlags(flags)
4545
return cmd
4646
}

cmd/docker-app/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,5 @@ type registryOptions struct {
9595
}
9696

9797
func (o *registryOptions) addFlags(flags *pflag.FlagSet) {
98-
flags.StringSliceVar(&o.insecureRegistries, "insecure-registries", nil, "Use HTTP instead of HTTPS when pulling or pushing from/to those registries")
98+
flags.StringSliceVar(&o.insecureRegistries, "insecure-registries", nil, "Use HTTP instead of HTTPS when pulling from/pushing to those registries")
9999
}

internal/store/store_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"path/filepath"
55
"testing"
66

7-
//"github.com/docker/cli/cli/config"
87
"github.com/docker/distribution/reference"
98
"gotest.tools/assert"
109
)

0 commit comments

Comments
 (0)