summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-op-sm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 05b59950da6..717959b662b 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -3222,8 +3222,8 @@ glusterd_op_status_volume (dict_t *dict, char **op_errstr,
other_count++;
node_count++;
} else if ((cmd & GF_CLI_STATUS_SNAPD) != 0) {
- ret = glusterd_add_node_to_dict ("snapd", rsp_dict, 0,
- vol_opts);
+ ret = glusterd_add_snapd_to_dict (volinfo, rsp_dict,
+ other_index);
if (ret)
goto out;
other_count++;