Append --registry-auth with with
`--with-registry-auth` is more explicit. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Upstream-commit: 8426f72107f351b769babadeabbf13f205126514 Component: engine
This commit is contained in:
@ -19,7 +19,7 @@ func addBundlefileFlag(opt *string, flags *pflag.FlagSet) {
|
||||
}
|
||||
|
||||
func addRegistryAuthFlag(opt *bool, flags *pflag.FlagSet) {
|
||||
flags.BoolVar(opt, "registry-auth", false, "Send registry authentication details to Swarm agents")
|
||||
flags.BoolVar(opt, "with-registry-auth", false, "Send registry authentication details to Swarm agents")
|
||||
}
|
||||
|
||||
func loadBundlefile(stderr io.Writer, namespace string, path string) (*bundlefile.Bundlefile, error) {
|
||||
|
||||
Reference in New Issue
Block a user