Skip to content

Commit

Permalink
warning if traffic URL was not been generated
Browse files Browse the repository at this point in the history
  • Loading branch information
leoporoli committed Jul 8, 2024
1 parent 9b623df commit 3e8d008
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kardinal-cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ func deploy(tenantUuid api_types.Uuid, services []types.ServiceConfig) {

trafficConfigurationURL, err := getTrafficConfigurationURL(tenantUuid)
if err != nil {
log.Fatalf("Failed to get the traffic configuration URL for tenant UUID: %s. Error:\n%v", tenantUuid, err)
logrus.Warningf("The command run successfully but it was impossible to print the traffic configuration URL because and error ocurred, please make sure to run the 'kardinal manager deploy' command first")
return
}

logrus.Infof("Visit: %s", trafficConfigurationURL)
Expand Down
Binary file modified kardinal-cli/kardinal
Binary file not shown.

0 comments on commit 3e8d008

Please sign in to comment.