From 7f23a09f371da139f1306e97c5c5647ebfa2858f Mon Sep 17 00:00:00 2001 From: Cezar Craciunoiu Date: Tue, 6 Aug 2024 10:49:39 +0300 Subject: [PATCH] fix(cloud): Allow more than one port Signed-off-by: Cezar Craciunoiu --- internal/cli/kraft/cloud/service/create/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/kraft/cloud/service/create/create.go b/internal/cli/kraft/cloud/service/create/create.go index 078c18bb0..5b0e12984 100644 --- a/internal/cli/kraft/cloud/service/create/create.go +++ b/internal/cli/kraft/cloud/service/create/create.go @@ -216,7 +216,7 @@ func NewCmd() *cobra.Command { cmd, err := cmdfactory.New(&CreateOptions{}, cobra.Command{ Short: "Create a service", Use: "create [FLAGS] EXTERNAL:INTERNAL[/HANDLER]", - Args: cobra.ExactArgs(1), + Args: cobra.MinimumNArgs(1), Aliases: []string{"new"}, Long: "Create a service.", Example: heredoc.Doc(`