From 358490e9396e3262f5cd5c684673d778f8b524a4 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Sat, 23 Sep 2023 09:14:45 +0200 Subject: [PATCH] refactor: deploy output wording --- pkg/upstream/stack/stack.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkg/upstream/stack/stack.go b/pkg/upstream/stack/stack.go index d7772161e..c2d1e214c 100644 --- a/pkg/upstream/stack/stack.go +++ b/pkg/upstream/stack/stack.go @@ -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).