summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index d3d4a91909b..9e52effa9f3 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -2470,6 +2470,10 @@ __glusterd_handle_friend_update (rpcsvc_request_t *req)
"update peer %s", peerinfo->hostname);
goto out;
}
+ ret = glusterd_store_peerinfo (peerinfo);
+ if (ret)
+ gf_log (this->name, GF_LOG_ERROR,
+ "Failed to store peerinfo");
}
peerinfo = NULL;