cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [32/40] git commit: refs/heads/master - Fix another toString() usage of GuestOsIdentifier enum.
Date Tue, 05 Mar 2013 02:09:46 GMT
Fix another toString() usage of GuestOsIdentifier enum.

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

Branch: refs/heads/master
Commit: 17488fac364c923de43fcd5d15a237f0978282ff
Parents: 60cd4dd
Author: Min Chen <min.chen@citrix.com>
Authored: Tue Feb 26 15:32:59 2013 -0800
Committer: Min Chen <min.chen@citrix.com>
Committed: Tue Feb 26 15:32:59 2013 -0800

----------------------------------------------------------------------
 .../hypervisor/vmware/resource/VmwareResource.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/17488fac/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
index 11cb62c..1bc233c 100755
--- a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
+++ b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
@@ -2138,7 +2138,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource,
Vmwa
             int ramMb = (int) (vmSpec.getMinRam() / (1024 * 1024));
             VmwareHelper.setBasicVmConfig(vmConfigSpec, vmSpec.getCpus(), vmSpec.getMaxSpeed(),
             vmSpec.getMinSpeed(),(int) (vmSpec.getMaxRam()/(1024*1024)), ramMb,
-            translateGuestOsIdentifier(vmSpec.getArch(), vmSpec.getOs()).toString(), vmSpec.getLimitCpuUse());
+            translateGuestOsIdentifier(vmSpec.getArch(), vmSpec.getOs()).value(), vmSpec.getLimitCpuUse());
 
             VirtualDeviceConfigSpec[] deviceConfigSpecArray = new VirtualDeviceConfigSpec[totalChangeDevices];
             int i = 0;


Mime
View raw message