Michael Kublin has uploaded a new change for review.

Change subject: engine: Fixing NPE at RegisterVdsQuery
......................................................................

engine: Fixing NPE at RegisterVdsQuery

The following patch will fix a NPE which can occurred at RegisterVdsQuery
during writting to logs

Change-Id: I03199e5d16671d43b74e37dd28215bccfd4467e1
Signed-off-by: Michael Kublin <mkub...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/77/9177/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
index e332f05..13cf7c5 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RegisterVdsQuery.java
@@ -479,10 +479,6 @@
                     break;
                 }
             }
-        } else {
-            log.debugFormat(
-                    "No Change required for VDS {0}. Since it has the same 
unique Id",
-                    hostToRegister.getId());
         }
         log.debugFormat("Leaving with value {0}", returnValue);
         return returnValue;


--
To view, visit http://gerrit.ovirt.org/9177
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I03199e5d16671d43b74e37dd28215bccfd4467e1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkub...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to