Ravi Nori has uploaded a new change for review.

Change subject: engine : incomplete error when trying to add host with wrong 
cluster ID
......................................................................

engine : incomplete error when trying to add host with wrong cluster ID

An internal error when wrong cluster id is passed
causing incomplete error message.

Change-Id: If54bcf4ab325d607c869bb8aec609718c15e8b26
Bug-Url: https://bugzilla.redhat.com/890469
Signed-off-by: Ravi Nori <rn...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/92/13992/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
index 88d881f..e0ac72a 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
@@ -190,8 +190,8 @@
         }
     }
 
-    protected boolean isGlusterSupportEnabled() {
-        return getVdsGroup().supportsGlusterService() && 
getParameters().isGlusterPeerProbeNeeded();
+    private boolean isGlusterSupportEnabled() {
+        return getVdsGroup() != null && getVdsGroup().supportsGlusterService() 
&& getParameters().isGlusterPeerProbeNeeded();
     }
 
     /**


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

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

Reply via email to