bug 10530: Add vmid in the logs

This commit is contained in:
Nitin 2011-10-28 23:36:07 +05:30
parent 5ffbf711fe
commit 0d1f89f507
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ public class RulesManagerImpl implements RulesManager, RulesService, Manager {
IPAddressVO ip = _ipAddressDao.findByAssociatedVmId(vmId);
if (ip != null) {
throw new InvalidParameterValueException("Failed to enable static nat for the ip address id=" + ipId + " as vm id=" + " is already associated with ip id=" + ip.getId());
throw new InvalidParameterValueException("Failed to enable static nat for the ip address id=" + ipId + " as vm id=" + vmId + " is already associated with ip id=" + ip.getId());
}
ipAddress.setOneToOneNat(true);