Przeglądaj źródła

restore status in addition to reason as progress message

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 5 lat temu
rodzic
commit
e8507893ee
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ecs/wait.go

+ 1 - 1
ecs/wait.go

@@ -104,7 +104,7 @@ func (b *ecsAPIService) WaitStackCompletion(ctx context.Context, name string, op
 			w.Event(progress.Event{
 			w.Event(progress.Event{
 				ID:         resource,
 				ID:         resource,
 				Status:     progressStatus,
 				Status:     progressStatus,
-				StatusText: reason,
+				StatusText: fmt.Sprintf("%s %s", status, reason),
 			})
 			})
 		}
 		}
 		if operation != stackCreate || stackErr != nil {
 		if operation != stackCreate || stackErr != nil {