mirror of https://github.com/fluxcd/cli-utils.git
Fix missing action value in table output
This commit is contained in:
parent
9e462c333d
commit
ab7b47b086
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue