Skip to content

Commit

Permalink
fix: flow URL log line (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoporoli authored Aug 2, 2024
1 parent c23e82e commit 26103d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kardinal-cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 26103d0

Please sign in to comment.