cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthon...@apache.org
Subject git commit: updated refs/heads/master to dbe950a
Date Tue, 19 Aug 2014 00:56:22 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 81c5e184b -> dbe950a27


avoid creating same primary storage multiple times for XenServer


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

Branch: refs/heads/master
Commit: dbe950a27efc02fdf15a9a6e878164c66204b47d
Parents: 81c5e18
Author: Anthony Xu <anthony.xu@citrix.com>
Authored: Mon Aug 18 17:55:34 2014 -0700
Committer: Anthony Xu <anthony.xu@citrix.com>
Committed: Mon Aug 18 17:55:34 2014 -0700

----------------------------------------------------------------------
 .../xenserver/resource/Xenserver625StorageProcessor.java           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dbe950a2/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/Xenserver625StorageProcessor.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/Xenserver625StorageProcessor.java
b/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/Xenserver625StorageProcessor.java
index e0e2d7b..f531094 100644
--- a/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/Xenserver625StorageProcessor.java
+++ b/plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/Xenserver625StorageProcessor.java
@@ -96,7 +96,7 @@ public class Xenserver625StorageProcessor extends XenServerStorageProcessor
{
             Host host = Host.getByUuid(conn, hypervisorResource.getHost().uuid);
             String uuid = UUID.randomUUID().toString();
 
-            sr = SR.introduce(conn,uuid, uuid, uuid, "file", "file", false, smConfig);
+            sr = SR.introduce(conn, uuid, srname, srname, "file", "file", false, smConfig);
             PBD.Record record = new PBD.Record();
             record.host = host;
             record.SR = sr;


Mime
View raw message