Skip to content

Commit

Permalink
Fix binding of FileBasedNetworkTopology
Browse files Browse the repository at this point in the history
  • Loading branch information
codesorcery authored and wendigo committed Aug 13, 2024
1 parent 918af78 commit b5ea2c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ private void bindNetworkTopology()
binder -> {
configBinder(binder).bindConfig(TopologyFileConfig.class);
binder.bind(NetworkTopology.class).to(FileBasedNetworkTopology.class).in(Scopes.SINGLETON);
binder.bind(FileBasedNetworkTopology.class).in(Scopes.SINGLETON);
newExporter(binder).export(FileBasedNetworkTopology.class).withGeneratedName();
}));

Expand Down

0 comments on commit b5ea2c9

Please sign in to comment.