aboutsummaryrefslogtreecommitdiff
path: root/weed/server/master_server_handlers_ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/server/master_server_handlers_ui.go')
-rw-r--r--weed/server/master_server_handlers_ui.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/server/master_server_handlers_ui.go b/weed/server/master_server_handlers_ui.go
index d8260d8d2..b481b9854 100644
--- a/weed/server/master_server_handlers_ui.go
+++ b/weed/server/master_server_handlers_ui.go
@@ -4,8 +4,8 @@ import (
"net/http"
"time"
- "github.com/chrislusf/raft"
hashicorpRaft "github.com/hashicorp/raft"
+ "github.com/seaweedfs/raft"
ui "github.com/chrislusf/seaweedfs/weed/server/master_ui"
"github.com/chrislusf/seaweedfs/weed/stats"
@@ -26,7 +26,7 @@ func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request)
VolumeSizeLimitMB uint32
}{
util.Version(),
- ms.Topo.ToMap(),
+ ms.Topo.ToInfo(),
ms.Topo.RaftServer,
infos,
serverStats,
@@ -43,7 +43,7 @@ func (ms *MasterServer) uiStatusHandler(w http.ResponseWriter, r *http.Request)
VolumeSizeLimitMB uint32
}{
util.Version(),
- ms.Topo.ToMap(),
+ ms.Topo.ToInfo(),
ms.Topo.HashicorpRaft,
infos,
serverStats,