Bumping versions
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user