diff --git a/go/weed/weed_server/master_server_handlers_ui.go b/go/weed/weed_server/master_server_handlers_ui.go index 9f9b179da..cdcae714e 100644 --- a/go/weed/weed_server/master_server_handlers_ui.go +++ b/go/weed/weed_server/master_server_handlers_ui.go @@ -15,7 +15,7 @@ func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request) Version string Topology interface{} Peers interface{} - Stats interface{} + Stats map[string]interface{} Counters *stats.ServerStats }{ util.VERSION, diff --git a/go/weed/weed_server/master_ui/templates.go b/go/weed/weed_server/master_ui/templates.go index 42adacb5d..96b8bd5ce 100644 --- a/go/weed/weed_server/master_ui/templates.go +++ b/go/weed/weed_server/master_ui/templates.go @@ -32,8 +32,8 @@ var StatusTpl = template.Must(template.New("status").Parse(`