From 26103d01b30cb78f05144619ae04601791a83569 Mon Sep 17 00:00:00 2001 From: leoporoli Date: Fri, 2 Aug 2024 10:05:47 -0300 Subject: [PATCH] fix: flow URL log line (#73) --- kardinal-cli/cmd/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kardinal-cli/cmd/root.go b/kardinal-cli/cmd/root.go index f5cac862..0badab2c 100644 --- a/kardinal-cli/cmd/root.go +++ b/kardinal-cli/cmd/root.go @@ -312,7 +312,7 @@ func createDevFlow(tenantUuid api_types.Uuid, imageLocator, serviceName string) if resp.StatusCode() == 200 { fmt.Printf("Flow \"%s\" created. Access it on:\n", resp.JSON200.FlowId) - for url := range resp.JSON200.FlowUrls { + for _, url := range resp.JSON200.FlowUrls { fmt.Printf("http://%s\n", url) } return @@ -349,7 +349,7 @@ func deploy(tenantUuid api_types.Uuid, serviceConfigs []api_types.ServiceConfig) if resp.StatusCode() == 200 { fmt.Printf("Flow \"%s\" created. Access it on:\n", resp.JSON200.FlowId) - for url := range resp.JSON200.FlowUrls { + for _, url := range resp.JSON200.FlowUrls { fmt.Printf("http://%s\n", url) } fmt.Printf("Visit Kardinal Kontrol: %s", trafficConfigurationURL)