Reverted wrong commit for logging in HostDaoImpl

This commit is contained in:
alena 2011-08-26 17:47:52 -07:00
parent ebfe43d15c
commit 9ecd2058e7
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ public class HostDaoImpl extends GenericDaoBase<HostVO, Long> implements HostDao
s_logger.warn("Unable to update db record for host id=" + host.getId() + "; it's possible that the host is removed");
}
if (s_logger.isDebugEnabled() && result == 1) {
if (s_logger.isDebugEnabled() && result == 0) {
HostVO vo = findById(host.getId());
if (vo != null) {