Skip to content

Commit 7a493b4

Browse files
chrisjsspencergibb
authored andcommitted
Remove exception from log when configMap can't be read (spring-cloud#303)
1 parent fcad70f commit 7a493b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private static Map<String, String> getData(KubernetesClient client, String name,
7575
}
7676
catch (Exception e) {
7777
LOG.warn("Can't read configMap with name: [" + name + "] in namespace:["
78-
+ namespace + "]. Ignoring", e);
78+
+ namespace + "]. Ignoring");
7979
}
8080

8181
return new HashMap<>();

0 commit comments

Comments
 (0)