Bumping versions

This commit is contained in:
spring-builds
2024-10-25 19:00:55 +00:00
parent 82224ca478
commit cc374dbd6b
2 changed files with 7 additions and 4 deletions

View File

@@ -61,7 +61,8 @@ public final class ConfigUtils {
|| sourceName.endsWith("-" + activeProfile + ".yaml")
|| sourceName.endsWith("-" + activeProfile + ".properties");
private static final ApplicationListener<?> NO_OP = (e) -> { };
private static final ApplicationListener<?> NO_OP = (e) -> {
};
private ConfigUtils() {
}

View File

@@ -123,9 +123,11 @@ public class Fabric8AutoConfiguration {
@EventListener
void onContextClosed(ContextClosedEvent event) {
// Clean up any open connections from the KubernetesClient when the context is closed
BeanFactoryUtils.beansOfTypeIncludingAncestors(event.getApplicationContext(), KubernetesClient.class).values()
.forEach(Client::close);
// Clean up any open connections from the KubernetesClient when the context is
// closed
BeanFactoryUtils.beansOfTypeIncludingAncestors(event.getApplicationContext(), KubernetesClient.class)
.values()
.forEach(Client::close);
}
}