summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handler.c
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-10-04 02:50:55 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-04 03:59:03 -0700
commit2420fd1f0cc5c357776d3766884b86859f3c3781 (patch)
treee4929f290f26490343e9dc006eff7a3cc555def9 /xlators/mgmt/glusterd/src/glusterd-handler.c
parentebc40051898881fa3d49946046448ee34e356338 (diff)
mgmt/glusterd: update volumes on friend update
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index 031e07481a9..5f3e50ce770 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -2175,7 +2175,7 @@ glusterd_handle_friend_update (rpcsvc_request_t *req)
goto out;
}
- args.mode = GD_MODE_SWITCH_ON;
+ args.mode = GD_MODE_ON;
while ( i <= count) {
snprintf (key, sizeof (key), "friend%d.uuid", i);
ret = dict_get_str (dict, key, &uuid_buf);