Ethan Mosbaugh
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
weed/command/master.go
|
|
@ -192,7 +192,7 @@ func startMaster(masterOption MasterOptions, masterWhiteList []string) { |
|
|
|
} |
|
|
|
} |
|
|
|
ms.SetRaftServer(raftServer) |
|
|
|
r.HandleFunc("/cluster/status", raftServer.StatusHandler).Methods(http.MethodGet) |
|
|
|
r.HandleFunc("/cluster/status", raftServer.StatusHandler).Methods(http.MethodGet, http.MethodHead) |
|
|
|
r.HandleFunc("/cluster/healthz", raftServer.HealthzHandler).Methods(http.MethodGet, http.MethodHead) |
|
|
|
if *masterOption.raftHashicorp { |
|
|
|
r.HandleFunc("/raft/stats", raftServer.StatsRaftHandler).Methods(http.MethodGet) |
|
|
|