浏览代码

restore status in addition to reason as progress message

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 5 年之前
父节点
当前提交
e8507893ee
共有 1 个文件被更改,包括 1 次插入1 次删除
  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{
 				ID:         resource,
 				Status:     progressStatus,
-				StatusText: reason,
+				StatusText: fmt.Sprintf("%s %s", status, reason),
 			})
 		}
 		if operation != stackCreate || stackErr != nil {