Skip to content

Commit

Permalink
fix: issue after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Mészáros <[email protected]>
  • Loading branch information
csviri committed Nov 13, 2024
1 parent 6157e2b commit 45759ff
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,11 @@ private LocallyRunOperatorExtension(
this.portForwards = portForwards;
this.localPortForwards = new ArrayList<>(portForwards.size());
this.additionalCustomResourceDefinitions = additionalCustomResourceDefinitions;
configurationServiceOverrider = configurationServiceOverrider != null
? configurationServiceOverrider
.andThen(overrider -> overrider.withKubernetesClient(kubernetesClient))
: overrider -> overrider.withKubernetesClient(kubernetesClient);
this.operator = new Operator(
configurationServiceOverrider == null ? o -> o.withKubernetesClient(getKubernetesClient())
: configurationServiceOverrider
.andThen(o -> o.withKubernetesClient(getKubernetesClient())));
configurationServiceOverrider = configurationServiceOverrider != null
? configurationServiceOverrider
.andThen(overrider -> overrider.withKubernetesClient(kubernetesClient))
: overrider -> overrider.withKubernetesClient(kubernetesClient);
this.operator = new Operator(configurationServiceOverrider);
this.registeredControllers = new HashMap<>();
this.crdMappings = crdMappings;
}
Expand Down

0 comments on commit 45759ff

Please sign in to comment.