Skip to content

Commit 6361b36

Browse files
metacosmcsviri
authored andcommitted
fix: match other methods' usage pattern
1 parent 1e4f64c commit 6361b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ public ConfigurationServiceOverrider withObjectMapper(ObjectMapper objectMapper)
8282
return this;
8383
}
8484

85-
public LeaderElectionConfiguration withLeaderElectionConfiguration(
85+
public ConfigurationServiceOverrider withLeaderElectionConfiguration(
8686
LeaderElectionConfiguration leaderElectionConfiguration) {
8787
this.leaderElectionConfiguration = leaderElectionConfiguration;
88-
return leaderElectionConfiguration;
88+
return this;
8989
}
9090

9191
public ConfigurationService build() {

0 commit comments

Comments
 (0)