You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2019/02/19 17:11:01 UTC
[karaf-cellar] 02/02: [KARAF-6162] Fix cluster:bundle-update command
This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch cellar-4.1.x
in repository https://gitbox.apache.org/repos/asf/karaf-cellar.git
commit df7b4d2b9fd226add8f66ed6859f8f45bd79e68a
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Tue Feb 19 18:09:50 2019 +0100
[KARAF-6162] Fix cluster:bundle-update command
---
.../java/org/apache/karaf/cellar/bundle/shell/UpdateBundleCommand.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bundle/src/main/java/org/apache/karaf/cellar/bundle/shell/UpdateBundleCommand.java b/bundle/src/main/java/org/apache/karaf/cellar/bundle/shell/UpdateBundleCommand.java
index 535d1f3..f6c1063 100644
--- a/bundle/src/main/java/org/apache/karaf/cellar/bundle/shell/UpdateBundleCommand.java
+++ b/bundle/src/main/java/org/apache/karaf/cellar/bundle/shell/UpdateBundleCommand.java
@@ -91,7 +91,7 @@ public class UpdateBundleCommand extends BundleCommandSupport {
}
// update cluster state
- state.setLocation(updateLocation);
+ state.setLocation(location);
clusterBundles.put(bundle, state);
// broadcast the cluster event