Skip to content

Commit

Permalink
"BuiltModule" got renamed to "ModuleCrate"
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Nov 26, 2023
1 parent ea11881 commit c188dcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/io/bootique/curator/CuratorModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package io.bootique.curator;

import io.bootique.BQModuleProvider;
import io.bootique.bootstrap.BuiltModule;
import io.bootique.ModuleCrate;
import io.bootique.config.ConfigurationFactory;
import io.bootique.di.BQModule;
import io.bootique.di.Binder;
Expand All @@ -36,8 +36,8 @@ public class CuratorModule implements BQModule, BQModuleProvider {
private static final String CONFIG_PREFIX = "curator";

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

0 comments on commit c188dcd

Please sign in to comment.