Skip to content

Commit

Permalink
Return lockService from createComponents (#670)
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
(cherry picked from commit 5bbe395)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Sep 4, 2024
1 parent ddd882f commit c2aca85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Collection<Object> createComponents(
clusterService.addListener(this.sweeper);
clusterService.addLifecycleListener(this.sweeper);

return Collections.emptyList();
return List.of(this.lockService);

Check warning on line 130 in src/main/java/org/opensearch/jobscheduler/JobSchedulerPlugin.java

View check run for this annotation

Codecov / codecov/patch

src/main/java/org/opensearch/jobscheduler/JobSchedulerPlugin.java#L130

Added line #L130 was not covered by tests
}

@Override
Expand Down

0 comments on commit c2aca85

Please sign in to comment.