Skip to content

Commit b023c9d

Browse files
committed
Bumping versions
1 parent 356c14a commit b023c9d

File tree

2 files changed

+7
-4
lines changed
  • spring-cloud-kubernetes-commons/src/main/java/org/springframework/cloud/kubernetes/commons/config
  • spring-cloud-kubernetes-fabric8-autoconfig/src/main/java/org/springframework/cloud/kubernetes/fabric8

2 files changed

+7
-4
lines changed

spring-cloud-kubernetes-commons/src/main/java/org/springframework/cloud/kubernetes/commons/config/ConfigUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ public final class ConfigUtils {
6161
|| sourceName.endsWith("-" + activeProfile + ".yaml")
6262
|| sourceName.endsWith("-" + activeProfile + ".properties");
6363

64-
private static final ApplicationListener<?> NO_OP = (e) -> { };
64+
private static final ApplicationListener<?> NO_OP = (e) -> {
65+
};
6566

6667
private ConfigUtils() {
6768
}

spring-cloud-kubernetes-fabric8-autoconfig/src/main/java/org/springframework/cloud/kubernetes/fabric8/Fabric8AutoConfiguration.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@ public Fabric8PodUtils kubernetesPodUtils(KubernetesClient client) {
123123

124124
@EventListener
125125
void onContextClosed(ContextClosedEvent event) {
126-
// Clean up any open connections from the KubernetesClient when the context is closed
127-
BeanFactoryUtils.beansOfTypeIncludingAncestors(event.getApplicationContext(), KubernetesClient.class).values()
128-
.forEach(Client::close);
126+
// Clean up any open connections from the KubernetesClient when the context is
127+
// closed
128+
BeanFactoryUtils.beansOfTypeIncludingAncestors(event.getApplicationContext(), KubernetesClient.class)
129+
.values()
130+
.forEach(Client::close);
129131
}
130132

131133
}

0 commit comments

Comments
 (0)