cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [4/7] git commit: updated refs/heads/vmwaresdk-to-vijava to 02ae858
Date Sun, 22 Sep 2013 12:10:55 GMT
Convert VmwareStorageProcessor.java from Vmware SDK to vijava


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

Branch: refs/heads/vmwaresdk-to-vijava
Commit: 9b09e94e927c809c7519492ed30e728cac1e4985
Parents: dcb8c30
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Sun Sep 22 19:19:42 2013 +0800
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Sun Sep 22 19:19:42 2013 +0800

----------------------------------------------------------------------
 .../src/com/cloud/storage/resource/VmwareStorageProcessor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9b09e94e/plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
b/plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
index 4982d87..97f2674 100644
--- a/plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
+++ b/plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
@@ -1674,7 +1674,7 @@ public class VmwareStorageProcessor implements StorageProcessor {
     }
     
     private static String deriveTemplateUuidOnHost(VmwareHypervisorHost hyperHost, String
storeIdentifier, String templateName) {
-    	String templateUuid = UUID.nameUUIDFromBytes((templateName + "@" + storeIdentifier +
"-" + hyperHost.getMor().getValue()).getBytes()).toString();
+    	String templateUuid = UUID.nameUUIDFromBytes((templateName + "@" + storeIdentifier +
"-" + hyperHost.getMor().getVal()).getBytes()).toString();
     	templateUuid = templateUuid.replaceAll("-", "");
     	return templateUuid;
     }


Mime
View raw message