diff --git a/consul/raft_endpoint.go b/consul/raft_endpoint.go index 9db31202c9..97b7adf746 100644 --- a/consul/raft_endpoint.go +++ b/consul/raft_endpoint.go @@ -18,3 +18,8 @@ func (r *Raft) RemovePeer(args string, reply *struct{}) error { future := r.server.raft.RemovePeer(peer) return future.Error() } + +func (r *Raft) Snapshot(args struct{}, reply *struct{}) error { + future := r.server.raft.Snapshot() + return future.Error() +}