Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wind57 committed May 17, 2024
2 parents 8ee9390 + 3ef495f commit bdf347b
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ public void initialize(BootstrapRegistry registry) {
return createKubernetesDiscoveryProperties(context);
});

registry.registerIfAbsent(KubernetesClientProperties.class, context -> {
if (!getDiscoveryEnabled(context)) {
return null;
}
return createKubernetesClientProperties(context);
});
registry.registerIfAbsent(ConfigServerInstanceProvider.Function.class, context -> {
if (!getDiscoveryEnabled(context)) {
return (id) -> Collections.emptyList();
Expand Down

0 comments on commit bdf347b

Please sign in to comment.