Skip to content

Commit

Permalink
Make a breaking change
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Mar 29, 2024
1 parent 6ce041e commit c8bc3bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions server/src/main/java/org/opensearch/plugins/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ protected Optional<String> getFeature() {
return Optional.empty();
}

/**
* Node level guice modules.
*/
public Collection<Module> createGuiceModules() {
return Collections.emptyList();
}
// /**
// * Node level guice modules.
// */
// public Collection<Module> createGuiceModules() {
// return Collections.emptyList();
// }

/**
* Node level services that will be automatically started/stopped/closed. This classes must be constructed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public Settings updatedSettings() {
public Collection<Module> createGuiceModules() {
List<Module> modules = new ArrayList<>();
for (Tuple<PluginInfo, Plugin> plugin : plugins) {
modules.addAll(plugin.v2().createGuiceModules());
// modules.addAll(plugin.v2().createGuiceModules());
}
return modules;
}
Expand Down

0 comments on commit c8bc3bd

Please sign in to comment.