Skip to content

Commit

Permalink
refactoring - combining Module and Provider for non-deprecated modules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Nov 25, 2023
1 parent 2cddb34 commit ea11881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/bootique/curator/CuratorModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class CuratorModule implements BQModule, BQModuleProvider {

@Override
public BuiltModule buildModule() {
return BuiltModule.of(new CuratorModule())
return BuiltModule.of(this)
.provider(this)
.description("Integrates Apache Curator Zookeeper client")
.config(CONFIG_PREFIX, CuratorFrameworkFactory.class)
Expand Down

0 comments on commit ea11881

Please sign in to comment.