summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-04-03 15:20:44 +0530
committerVijay Bellur <vijay@gluster.com>2012-04-05 05:16:20 -0700
commit6424f5a6cce467751fdfe991addc922a498d44fc (patch)
tree5d8bc2cf80084b90e64fd3153aa2cde94cde7233 /xlators
parent3e27f277951e9369517bdd16170639f587d3fb9d (diff)
mgmt/glusterd: Use the correct status string for filtering
Change-Id: Id62bec56aeda0cede19369708242f0b92f800125 BUG: 807556 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3075 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 80553b4376d..a577e161c17 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -3016,7 +3016,7 @@ _heal_volume_add_shd_rsp (dict_t *this, char *key, data_t *value, void *data)
volinfo = rsp_ctx->volinfo;
brick_id = rxl_id * volinfo->replica_count + rxl_child_id;
- if (!strcmp (rxl_child_end, "status")) {
+ if (!strcmp (rxl_child_end, "-status")) {
brickinfo = glusterd_get_brickinfo_by_position (volinfo,
brick_id);
if (!brickinfo)