daviftorres commented on code in PR #9132:
URL: https://github.com/apache/cloudstack/pull/9132#discussion_r2358865547


##########
server/src/main/java/com/cloud/vm/UserVmManagerImpl.java:
##########
@@ -4713,7 +4713,7 @@ private void checkIfHostNameUniqueInNtwkDomain(String 
hostName, List<? extends N
                 List<String> hostNames = 
_vmInstanceDao.listDistinctHostNames(ntwkId);
                 // * verify that there are no duplicates
                 if (hostNames.contains(hostName)) {
-                    throw new InvalidParameterValueException("The vm with 
hostName " + hostName + " already exists in the network domain: " + 
ntwkDomain.getKey() + "; network="
+                    throw new InvalidParameterValueException("The VM with 
hostName " + hostName + " already exists in the network domain: " + 
ntwkDomain.getKey() + "; network="

Review Comment:
   ```suggestion
                       throw new InvalidParameterValueException("The VM with 
hostName " + hostName + " already exists in the network domain: " + 
ntwkDomain.getKey() + "; network = "
   ```
   
   How about that?



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to