(ctx *PfContext)
| 516 | } |
| 517 | |
| 518 | func (bn *BatchNode) Run(ctx *PfContext) (string, error) { |
| 519 | if len(bn.successors) > 0 { |
| 520 | logWarn("Node %T has successors, but Run() was called directly. Successors won't be executed by this call. Use Flow.Run() for orchestration.", bn) |
| 521 | } |
| 522 | return bn.InternalRun(ctx) |
| 523 | } |
| 524 | |
| 525 | // InternalRun implements the retry logic at the item level within Exec. |
| 526 | func (bn *BatchNode) InternalRun(ctx *PfContext) (string, error) { |
nothing calls this directly
no test coverage detected