Skip to content

Commit 8a48b7e

Browse files
committed
add return
1 parent 36aeb02 commit 8a48b7e

File tree

1 file changed

+1
-0
lines changed
  • spring-cloud-kubernetes-commons/src/main/java/org/springframework/cloud/kubernetes/commons/config/reload

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public static boolean reload(PropertySourceLocator locator, ConfigurableEnvironm
6464

6565
if (existingSources.isEmpty()) {
6666
LOG.debug(() -> "no existingSources found, reload will not happen");
67+
return false;
6768
}
6869

6970
List<? extends MapPropertySource> sourceFromK8s = locateMapPropertySources(locator, environment);

0 commit comments

Comments
 (0)