From 6addbe51614c44095919bf75cfbdd3f039179ff7 Mon Sep 17 00:00:00 2001 From: zeromake Date: Fri, 6 Aug 2021 13:00:29 +0800 Subject: [PATCH] fix: --build flag default change to local --- cmd/convert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/convert.go b/cmd/convert.go index 21cc3d88..385e36d0 100644 --- a/cmd/convert.go +++ b/cmd/convert.go @@ -143,7 +143,7 @@ func init() { convertCmd.Flags().MarkHidden("build-branch") // Standard between the two - convertCmd.Flags().StringVar(&ConvertBuild, "build", "none", `Set the type of build ("local"|"build-config"(OpenShift only)|"none")`) + convertCmd.Flags().StringVar(&ConvertBuild, "build", "local", `Set the type of build ("local"|"build-config"(OpenShift only)|"none")`) convertCmd.Flags().BoolVar(&ConvertPushImage, "push-image", true, "If we should push the docker image we built") convertCmd.Flags().BoolVarP(&ConvertYaml, "yaml", "y", false, "Generate resource files into YAML format") convertCmd.Flags().MarkDeprecated("yaml", "YAML is the default format now.")