Reorder command flag and add missing flags (#1394)

This commit is contained in:
Ta-Ching Chen
2019-11-10 14:58:29 +08:00
committed by GitHub
parent fcd1bc0356
commit 7b6e4318d4
16 changed files with 93 additions and 58 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ func (opts *UpdateSubCommand) complete(input cli.Input) error {
return errors.New("package is used by multiple functions, use --force to force update")
}
keepURL := input.Bool("keepurl")
keepURL := input.Bool(flagkey.PkgKeepURL)
pkgMetadata, err = _package.UpdatePackage(opts.client, pkg, envName, envNamespace, srcArchiveFiles, deployArchiveFiles, buildcmd, false, codeFlag, keepURL)
if err != nil {