shouldPrintPodSpec return eligible to print to the pod spec
(node *wfv1.NodeStatus)
| 1332 | |
| 1333 | // shouldPrintPodSpec return eligible to print to the pod spec |
| 1334 | func (woc *wfOperationCtx) shouldPrintPodSpec(node *wfv1.NodeStatus) bool { |
| 1335 | return woc.controller.Config.PodSpecLogStrategy.AllPods || |
| 1336 | (woc.controller.Config.PodSpecLogStrategy.FailedPod && node.FailedOrError()) |
| 1337 | } |
| 1338 | |
| 1339 | // failNodesWithoutCreatedPodsAfterDeadlineOrShutdown mark the nodes without created pods failed when shutting down or exceeding deadline. |
| 1340 | func (woc *wfOperationCtx) failNodesWithoutCreatedPodsAfterDeadlineOrShutdown(ctx context.Context) { |