anmolbabu has uploaded a new change for review.

Change subject: webadmin : Rebalance stop error handling
......................................................................

webadmin : Rebalance stop error handling

If rebalance stop fails, rebalance status was still triggered.

Now,it has been corrected and only a error message is shown.

Change-Id: I02f434c3b83db286fae9f01956018a7edca2a736
Signed-off-by: Anmol Babu <anb...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/72/20072/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
index 1af4957..3d5d0e3 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
@@ -556,7 +556,9 @@
                 ConfirmationModel localModel = (ConfirmationModel) 
getConfirmWindow();
                 localModel.stopProgress();
                 setConfirmWindow(null);
-                showRebalanceStatus();
+                if (result.getReturnValue().getSucceeded()) {
+                    showRebalanceStatus();
+                }
             }
         });
     }


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

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

Reply via email to