Skip to content

Commit

Permalink
fix: init config object only once (#873)
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
  • Loading branch information
fab-10 authored Jul 25, 2024
1 parent 89ddb14 commit e4e0c4d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public class LineaOptionsPluginConfiguration {
@Getter private LineaOptionsConfiguration optionsConfig;

public void initOptionsConfig() {
optionsConfig = optionsConfigSupplier.get();
if (optionsConfig == null) {
optionsConfig = optionsConfigSupplier.get();
}
}
}

0 comments on commit e4e0c4d

Please sign in to comment.