glusterd: correct ret code in glusterd_volume_status_copy_to_op_ctx_dict

This patch is to supress the error log of Failed to aggregate rsp_dict where the
above function returns a non zero ret which is not required

Change-Id: If331980291bd369690257215333cea175e2042ec
BUG: 1290734
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/12950
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Gaurav Kumar Garg <ggarg@redhat.com>
This commit is contained in:
Atin Mukherjee 2015-12-11 15:15:53 +05:30
parent f624abd688
commit 88bf335553

View File

@ -8186,6 +8186,10 @@ glusterd_volume_status_copy_to_op_ctx_dict (dict_t *aggr, dict_t *rsp_dict)
if (ret)
goto out;
}
} else {
/* Ignore the error as still the aggregation applies in
* case its a task sub command */
ret = 0;
}
}