camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 03/03: CAMEL-12891 - Fixed CS
Date Mon, 22 Oct 2018 06:02:22 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 59dba21817ceff21b1f199cf5b325efa4022cff2
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Mon Oct 22 07:56:15 2018 +0200

    CAMEL-12891 - Fixed CS
---
 .../component/kubernetes/config_maps/KubernetesConfigMapsProducer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
index 4275fc7..200d649 100644
--- a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
+++ b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/config_maps/KubernetesConfigMapsProducer.java
@@ -117,7 +117,7 @@ public class KubernetesConfigMapsProducer extends DefaultProducer {
             LOG.error("Get a specific ConfigMap require specify a ConfigMap name");
             throw new IllegalArgumentException("Get a specific ConfigMap require specify
a ConfigMap name");
         }
-        if(namespaceName != null) {
+        if (namespaceName != null) {
             configMap = getEndpoint().getKubernetesClient().configMaps().inNamespace(namespaceName).withName(cfMapName).get();
         } else {
             configMap = getEndpoint().getKubernetesClient().configMaps().withName(cfMapName).get();


Mime
View raw message