From commits-return-66130-archive-asf-public=cust-asf.ponee.io@camel.apache.org Mon Oct 22 08:02:47 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C2126180718 for ; Mon, 22 Oct 2018 08:02:46 +0200 (CEST) Received: (qmail 49381 invoked by uid 500); 22 Oct 2018 06:02:45 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 49185 invoked by uid 99); 22 Oct 2018 06:02:45 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2018 06:02:45 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id E32C382927; Mon, 22 Oct 2018 06:02:44 +0000 (UTC) Date: Mon, 22 Oct 2018 06:02:47 +0000 To: "commits@camel.apache.org" Subject: [camel] 03/03: CAMEL-12891 - Fixed CS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: acosentino@apache.org In-Reply-To: <154018816440.6752.4697771539066015391@gitbox.apache.org> References: <154018816440.6752.4697771539066015391@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/camel-2.22.x X-Git-Reftype: branch X-Git-Rev: c515c388da3091e5020690798b13b3ee610455ad X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20181022060244.E32C382927@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.22.x in repository https://gitbox.apache.org/repos/asf/camel.git commit c515c388da3091e5020690798b13b3ee610455ad Author: Andrea Cosentino 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 6878a33..0bad3f3 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 @@ -114,7 +114,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();