- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- const workerChoiceStrategy = this.workerChoiceStrategies.get(
- this.workerChoiceStrategy
- )!
- if (!workerChoiceStrategy.hasPoolWorkerNodesReady()) {
- return this.execute()
- }
- return this.executeStrategy(workerChoiceStrategy)
+ return this.executeStrategy(
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ this.workerChoiceStrategies.get(this.workerChoiceStrategy)!
+ )