weizhouapache commented on pull request #4396:
URL: https://github.com/apache/cloudstack/pull/4396#issuecomment-781980326


   ```
                    // * 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="
   -                            + (_networkModel.getNetwork(ntwkId) != null) ? 
_networkModel.getNetwork(ntwkId).getName()) : "<unknown>";
   +                            + (_networkModel.getNetwork(ntwkId) != null) ? 
_networkModel.getNetwork(ntwkId).getName() : "<unknown>");
                    }
                }
            }
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to