|
@ -15,6 +15,7 @@ import ( |
|
|
func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) { |
|
|
func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) { |
|
|
infos := make(map[string]interface{}) |
|
|
infos := make(map[string]interface{}) |
|
|
infos["Up Time"] = time.Now().Sub(startTime).String() |
|
|
infos["Up Time"] = time.Now().Sub(startTime).String() |
|
|
|
|
|
infos["Max Volume Id"] = ms.Topo.GetMaxVolumeId() |
|
|
if ms.Topo.RaftServer != nil { |
|
|
if ms.Topo.RaftServer != nil { |
|
|
args := struct { |
|
|
args := struct { |
|
|
Version string |
|
|
Version string |
|
|