sureshanaparti commented on a change in pull request #5008:
URL: https://github.com/apache/cloudstack/pull/5008#discussion_r699011394
##########
File path:
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/guru/VMwareGuru.java
##########
@@ -453,8 +453,14 @@ private Long
getImportingVMGuestOs(VirtualMachineConfigSummary configSummary) {
*/
private ServiceOfferingVO createServiceOfferingForVMImporting(Integer
cpus, Integer memory, Integer maxCpuUsage) {
String name = "Imported-" + cpus + "-" + memory;
- ServiceOfferingVO vo = new ServiceOfferingVO(name, cpus, memory,
maxCpuUsage, null, null, false, name, Storage.ProvisioningType.THIN, false,
false, null, false, Type.User,
+
+ DiskOfferingVO diskOfferingVO = new DiskOfferingVO(name, name,
Storage.ProvisioningType.THIN, false, null, false, false, true);
+ diskOfferingVO =
diskOfferingDao.persistDefaultDiskOffering(diskOfferingVO);
+
Review comment:
double white spaces
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]