diff --git a/cmd/stackDeploy.go b/cmd/stackDeploy.go index 4fe23d6..8881894 100644 --- a/cmd/stackDeploy.go +++ b/cmd/stackDeploy.go @@ -35,7 +35,9 @@ var stackDeployCmd = &cobra.Command{ // Guess EndpointID if not set if endpointId == 0 { - logrus.Warning("Endpoint ID not set") + logrus.WithFields(logrus.Fields{ + "implications": "Command will fail if there is not exactly one endpoint available", + }).Warning("Endpoint ID not set") endpoint, err := common.GetDefaultEndpoint() common.CheckError(err) endpointId = int32(endpoint.Id) diff --git a/cmd/stackRemove.go b/cmd/stackRemove.go index 7fc4fef..a0dee99 100644 --- a/cmd/stackRemove.go +++ b/cmd/stackRemove.go @@ -26,7 +26,9 @@ var stackRemoveCmd = &cobra.Command{ // Guess EndpointID if not set if endpointId == 0 { - logrus.Warning("Endpoint ID not set") + logrus.WithFields(logrus.Fields{ + "implications": "Command will fail if there is not exactly one endpoint available", + }).Warning("Endpoint ID not set") endpoint, err := common.GetDefaultEndpoint() common.CheckError(err) endpointId = int32(endpoint.Id)