diff --git a/cmd/env/crtenv.go b/cmd/env/crtenv.go index b7d11051a..8e71e1d5d 100644 --- a/cmd/env/crtenv.go +++ b/cmd/env/crtenv.go @@ -16,9 +16,10 @@ package env import ( "fmt" - "internal/apiclient" "net/url" + "internal/apiclient" + "internal/client/env" "github.com/spf13/cobra" @@ -50,7 +51,7 @@ func init() { "", "Apigee environment name") CreateCmd.Flags().StringVarP(&deploymentType, "deptype", "d", "", "Deployment type - must be PROXY or ARCHIVE") - CreateCmd.Flags().StringVarP(&fwdProxyURI, "fowdproxyuri", "f", + CreateCmd.Flags().StringVarP(&fwdProxyURI, "fwdproxyuri", "f", "", "URL of the forward proxy to be applied to the runtime instances in this env") _ = CreateCmd.MarkFlagRequired("env") }