rajujith commented on code in PR #7857:
URL: https://github.com/apache/cloudstack/pull/7857#discussion_r2333392450


##########
server/src/main/java/com/cloud/vm/UserVmManagerImpl.java:
##########
@@ -1611,22 +1611,22 @@ public UserVm 
removeNicFromVirtualMachine(RemoveNicFromVMCmd cmd) throws Invalid
 
         UserVmVO vmInstance = _vmDao.findById(vmId);
         if (vmInstance == null) {
-            throw new InvalidParameterValueException("Unable to find a virtual 
machine with id " + vmId);
+            throw new InvalidParameterValueException("Unable to find an 
Instance with id " + vmId);
         }
 
         // Check that Vm does not have VM Snapshots
         if (_vmSnapshotDao.findByVm(vmId).size() > 0) {
-            throw new InvalidParameterValueException("NIC cannot be removed 
from VM with VM Snapshots");
+            throw new InvalidParameterValueException("NIC cannot be removed 
from Instance with Instance Snapshots");
         }
 
         NicVO nic = _nicDao.findById(nicId);
         if (nic == null) {
-            throw new InvalidParameterValueException("Unable to find a nic 
with id " + nicId);
+            throw new InvalidParameterValueException("Unable to find a NIC 
with id " + nicId);
         }
 
         NetworkVO network = _networkDao.findById(nic.getNetworkId());
         if (network == null) {
-            throw new InvalidParameterValueException("Unable to find a network 
with id " + nic.getNetworkId());
+            throw new InvalidParameterValueException("Unable to find a Network 
with id " + nic.getNetworkId());

Review Comment:
   'ID'



-- 
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]

Reply via email to