diff options
Diffstat (limited to 'weed/command/master.go')
| -rw-r--r-- | weed/command/master.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index cc6818967..4207a331c 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -97,6 +97,7 @@ func runMaster(cmd *Command, args []string) bool { raftServer := weed_server.NewRaftServer(security.LoadClientTLS(viper.Sub("grpc"), "master"), peers, myMasterAddress, *metaFolder, ms.Topo, *mpulse) ms.SetRaftServer(raftServer) + r.HandleFunc("/cluster/status", raftServer.StatusHandler).Methods("GET") // starting grpc server grpcPort := *mport + 10000 |
