rajujith commented on code in PR #7857:
URL: https://github.com/apache/cloudstack/pull/7857#discussion_r2333404800
##########
server/src/main/java/com/cloud/vm/snapshot/VMSnapshotManagerImpl.java:
##########
@@ -333,18 +333,18 @@ public VMSnapshot allocVMSnapshot(Long vmId, String
vsDisplayName, String vsDesc
// VM snapshot with memory is not supported for VGPU Vms
if (snapshotMemory &&
_serviceOfferingDetailsDao.findDetail(userVmVo.getServiceOfferingId(),
GPU.Keys.vgpuType.toString()) != null) {
- throw new InvalidParameterValueException("VM snapshot with MEMORY
is not supported for vGPU enabled VMs.");
+ throw new InvalidParameterValueException("Instance Snapshot with
MEMORY is not supported for vGPU enabled Instances.");
}
// check hypervisor capabilities
if
(!_hypervisorCapabilitiesDao.isVmSnapshotEnabled(userVmVo.getHypervisorType(),
"default"))
- throw new InvalidParameterValueException("VM snapshot is not
enabled for hypervisor type: " + userVmVo.getHypervisorType());
+ throw new InvalidParameterValueException("Instance Snapshot is not
enabled for hypervisor type: " + userVmVo.getHypervisorType());
// parameter length check
if (vsDisplayName != null && vsDisplayName.length() > 255)
- throw new InvalidParameterValueException("Creating VM snapshot
failed due to length of VM snapshot vsDisplayName should not exceed 255");
+ throw new InvalidParameterValueException("Creating Instance
Snapshot failed due to length of Instance Snapshot vsDisplayName should not
exceed 255");
Review Comment:
'vsDisplayName'?
--
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]