karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-4177) Kubernetes managed service doesn't update the correct properties set
Date Mon, 07 Dec 2015 16:34:11 GMT
Jean-Baptiste Onofré created KARAF-4177:
-------------------------------------------

             Summary: Kubernetes managed service doesn't update the correct properties set
                 Key: KARAF-4177
                 URL: https://issues.apache.org/jira/browse/KARAF-4177
             Project: Karaf
          Issue Type: Bug
          Components: cellar-cloud
    Affects Versions: cellar-2.3.6, cellar-3.0.3, cellar-4.0.0
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: cellar-3.0.4, cellar-2.3.7, cellar-4.0.1


In the KubernetesDiscoveryServiceFactory (https://github.com/apache/karaf-cellar/blob/master/kubernetes/src/main/java/org/apache/karaf/cellar/kubernetes/KubernetesDiscoveryServiceFactory.java#L69),
the update() method updated its own properties:

{code}
                 Properties serviceProperties = new Properties();
                 for (Map.Entry entry : serviceProperties.entrySet()) {
                     Object key = entry.getKey();
                     Object value = entry.getValue();
                     serviceProperties.put(key, value);
                 } 
{code}

instead of the iterating on serviceProperties, we have to iterate on properties directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message