Fix missing action value in table output

This commit is contained in:
Morten Torkildsen 2021-12-07 17:37:38 +01:00
parent 9e462c333d
commit ab7b47b086
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@ func newResourceStateCollector(resourceGroups []event.ActionGroup) *ResourceStat
resourceInfos := make(map[object.ObjMetadata]*ResourceInfo)
for _, group := range resourceGroups {
action := group.Action
// Keep the action that describes the operation for the resource
// rather than that we will wait for it.
if action == event.WaitAction {
continue
}
for _, identifier := range group.Identifiers {
resourceInfos[identifier] = &ResourceInfo{
identifier: identifier,