Skip to content

Commit

Permalink
Removing assert (#119228)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-buttner authored Dec 23, 2024
1 parent 3ecfe6b commit 81772c3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ public List<RestHandler> getRestHandlers(
Supplier<DiscoveryNodes> nodesInCluster,
Predicate<NodeFeature> clusterSupportsFeature
) {
assert serviceComponents.get() != null : "serviceComponents must be set before retrieving the rest handlers";

var availableRestActions = List.of(
new RestInferenceAction(),
new RestStreamInferenceAction(threadPoolSetOnce),
Expand Down

0 comments on commit 81772c3

Please sign in to comment.