refactor: deploy output wording

This commit is contained in:
decentral1se 2023-09-23 09:14:45 +02:00
parent 79b9cc9be7
commit 358490e939
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -415,7 +415,7 @@ func deployServices(
return nil
}
logrus.Infof("Starting to poll for deployment status for: %s", appName)
logrus.Infof("Waiting for %s to deploy... please hold 🤚", appName)
ch := make(chan error, len(serviceIDs))
for serviceID, serviceName := range serviceIDs {
logrus.Debugf("waiting on %s to converge", serviceName)
@ -472,12 +472,10 @@ func WaitOnService(ctx context.Context, cl *dockerClient.Client, serviceID, appN
return err
case <-sigintChannel:
return fmt.Errorf(fmt.Sprintf(`
Cancelling polling for %s, deployment is still continuing.
Not waiting for %s to deploy. The deployment is ongoing...
If you want to stop the deployment try:
abra app undeploy %s
`, appName, appName))
If you want to stop the deployment, try:
abra app undeploy %s`, appName, appName))
case <-time.After(timeout):
return fmt.Errorf(fmt.Sprintf(`
%s has not converged (%s second timeout reached).