Skip to content

Commit

Permalink
Ensure retryPolicy isn't null in TaskInfoFetcher constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
dekimir committed Dec 26, 2023
1 parent dee38a2 commit 304b331
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public TaskInfoFetcher(
this.spanBuilderFactory = requireNonNull(spanBuilderFactory, "spanBuilderFactory is null");
this.stats = requireNonNull(stats, "stats is null");
this.estimatedMemory = requireNonNull(estimatedMemory, "estimatedMemory is null");
this.retryPolicy = retryPolicy;
this.retryPolicy = requireNonNull(retryPolicy, "retryPolicy is null");
}

public TaskInfo getTaskInfo()
Expand Down

0 comments on commit 304b331

Please sign in to comment.