Ramesh N has uploaded a new change for review.

Change subject: webadmin: fix remove brick status error message
......................................................................

webadmin: fix remove brick status error message

  Fixing the error message displayed when remove brick
status is failed. Error message lists the bricks name instead
of volume name. Corrected it to show the volume name.

Change-Id: I8f66f7c7703d5ee6977375f33993a23e1c8d2677
Bug-Url: https://bugzilla.redhat.com/1035146
Signed-off-by: Ramesh Nachimuthu <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/06/21906/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
index ae7f50c..16007a4 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
@@ -1039,7 +1039,7 @@
                 else {
                     cModel.setMessage(ConstantsManager.getInstance()
                             .getMessages()
-                            .removeBrickStatusFailed(bricks.toString()));
+                            .removeBrickStatusFailed(volumeEntity.getName()));
                 }
             }
         }),


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

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

Reply via email to