- preload_objects_for_dataclass(Container, recent_cr_containers) if recent_cr_containers.andand.any?
-
- # fetch children of all the active crs in one call, if there are any
- active_crs = recent_crs.each {|cr| cr if (cr.priority.andand > 0 and cr.state != 'Final' and cr.container_uuid)}
+ if recent_cr_containers.andand.any?
+ preload_objects_for_dataclass(Container, recent_cr_containers, nil,
+ ["uuid", "started_at", "finished_at", "state", "runtime_status", "created_at", "modified_at"])
+ end