Skip to content

Commit

Permalink
minor refine
Browse files Browse the repository at this point in the history
  • Loading branch information
YongGang committed Oct 20, 2023
1 parent 9fa4a26 commit 1b75bb4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class MixRunnerStrategy implements RunnerStrategy
@Nullable
private final Map<String, String> overrides;
private final RunnerStrategy kubernetesRunnerStrategy = new KubernetesRunnerStrategy();
private WorkerRunnerStrategy workerRunnerStrategy = null;
private WorkerRunnerStrategy workerRunnerStrategy;
private final RunnerStrategy defaultRunnerStrategy;
private final String defaultRunner;

Expand Down Expand Up @@ -80,7 +80,7 @@ public RunnerType getRunnerTypeForTask(Task task)

public String getWorkerType()
{
return workerRunnerStrategy == null ? null : workerRunnerStrategy.getWorkerType();
return workerRunnerStrategy.getWorkerType();
}

private RunnerStrategy getRunnerSelectStrategy(String runnerType)
Expand Down

0 comments on commit 1b75bb4

Please sign in to comment.