anmolbabu has uploaded a new change for review.

Change subject: webadmin : Rebalance status error messages
......................................................................

webadmin : Rebalance status error messages

When rebalance status is selected appropriate error messages are shown.

Change-Id: I8018bf70530e78aaef3d1bfa608c0b0ecf269360
Bug-Url: https://bugzilla.redhat.com/??????
Signed-off-by: Anmol Babu <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/58/19958/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 75be63b..3cda765 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
@@ -567,7 +567,7 @@
             public void onSuccess(Object model, Object returnValue) {
                 GlusterVolumeTaskStatusEntity rebalanceStatusEntity =
                         (GlusterVolumeTaskStatusEntity) returnValue;
-                if ((rebalanceStatusEntity == null) || 
(rebalanceStatusEntity.getStatusSummary().getStatus() == 
JobExecutionStatus.UNKNOWN)) {
+                if (rebalanceStatusEntity == null) {
                     cModel.stopProgress();
                     
cModel.setMessage(ConstantsManager.getInstance().getMessages().rebalanceStatusConfirmationMessage(volumeEntity.getName()));
                 } else {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8018bf70530e78aaef3d1bfa608c0b0ecf269360
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: anmolbabu <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to