karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: KARAF-4280 - In case of update, use the actual property for the storage
Date Thu, 31 Mar 2016 23:25:29 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x f2a5c4b5d -> 522d61b7f


KARAF-4280 - In case of update, use the actual property for the storage


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/522d61b7
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/522d61b7
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/522d61b7

Branch: refs/heads/karaf-4.0.x
Commit: 522d61b7fda4da44b5bade9ef917826f489c7757
Parents: f2a5c4b
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Fri Apr 1 01:24:34 2016 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Fri Apr 1 01:24:34 2016 +0200

----------------------------------------------------------------------
 .../karaf/features/internal/service/FeatureConfigInstaller.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/522d61b7/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
----------------------------------------------------------------------
diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
index 9b86f10..1e19cb8 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
@@ -120,7 +120,7 @@ public class FeatureConfigInstaller {
                 if (update) {
                     cfg.update(properties);
                     try {
-                        updateStorage(pid[0], pid[1], props);
+                        updateStorage(pid[0], pid[1], properties);
                     } catch (Exception e) {
                         LOGGER.warn("Can't update cfg file", e);
                     }


Mime
View raw message