cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [2/3] git commit: updated refs/heads/master to 91d8766
Date Fri, 27 Mar 2015 11:12:25 GMT
Only one thing can come from the agent


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

Branch: refs/heads/master
Commit: e7d7643dd71b2175a8f553e1659141371c631656
Parents: d0e25d9
Author: Funs <funs@barred.org>
Authored: Fri Mar 27 11:19:16 2015 +0100
Committer: Funs <funs@barred.org>
Committed: Fri Mar 27 11:19:16 2015 +0100

----------------------------------------------------------------------
 .../ovm3/src/main/java/com/cloud/hypervisor/ovm3/objects/Xen.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e7d7643d/plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/objects/Xen.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/objects/Xen.java
b/plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/objects/Xen.java
index 6fdd81b..2f28d24 100644
--- a/plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/objects/Xen.java
+++ b/plugins/hypervisors/ovm3/src/main/java/com/cloud/hypervisor/ovm3/objects/Xen.java
@@ -434,7 +434,7 @@ public class Xen extends OvmObject {
                 throw new Ovm3ResourceException("No valid disk found for id: "
                         + disk);
             }
-            String[] st = diskPath.split("/"Char == '\\' ? "\\\\" : "/");
+            String[] st = diskPath.split("/");
             return st[fi];
         }
 


Mime
View raw message