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] [Resolved] (KARAF-4177) Kubernetes managed service doesn't update the correct properties set
Date Mon, 07 Dec 2015 17:58:10 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-4177.
-----------------------------------------
    Resolution: Fixed

> 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-4.0.0, cellar-3.0.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-3.0.4, 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