diff --git a/internal/cmd/apis/bundlecrtapis.go b/internal/cmd/apis/bundlecrtapis.go index 84dddf96c..037a15efd 100644 --- a/internal/cmd/apis/bundlecrtapis.go +++ b/internal/cmd/apis/bundlecrtapis.go @@ -138,7 +138,7 @@ func init() { BundleCreateCmd.Flags().BoolVarP(&sequencedRollout, "sequencedrollout", "", false, "If set to true, the routing rules will be rolled out in a safe order; default is false") BundleCreateCmd.Flags().BoolVarP(&safeDeploy, "safedeploy", "", - true, deploymentMsg) + false, deploymentMsg) BundleCreateCmd.Flags().StringVarP(&serviceAccountName, "sa", "s", "", "The format must be {ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com.") BundleCreateCmd.Flags().StringVarP(&desc, "desc", "d", diff --git a/internal/cmd/apis/common.go b/internal/cmd/apis/common.go index 045945c96..c0b0a48d7 100644 --- a/internal/cmd/apis/common.go +++ b/internal/cmd/apis/common.go @@ -21,7 +21,7 @@ import ( ) const deploymentMsg = "When set to true, generateDeployChangeReport will be executed and " + - "deployment will proceed if there are no conflicts; default is false" + "deployment will proceed if there are no conflicts" func GetRevision(respBody []byte) (revision int, err error) { var apiProxyRevResp map[string]interface{} diff --git a/internal/cmd/apis/oascrtapisv2.go b/internal/cmd/apis/oascrtapisv2.go index 7034e4193..57f1f4e25 100644 --- a/internal/cmd/apis/oascrtapisv2.go +++ b/internal/cmd/apis/oascrtapisv2.go @@ -207,7 +207,7 @@ func init() { OasCreatev2Cmd.Flags().BoolVarP(&sequencedRollout, "sequencedrollout", "", false, "If set to true, the routing rules will be rolled out in a safe order; default is false") OasCreatev2Cmd.Flags().BoolVarP(&safeDeploy, "safedeploy", "", - true, deploymentMsg) + false, deploymentMsg) OasCreatev2Cmd.Flags().StringVarP(&serviceAccountName, "sa", "s", "", "The format must be {ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com.") OasCreatev2Cmd.Flags().StringVarP(&desc, "desc", "d",