aboutsummaryrefslogtreecommitdiff
path: root/weed/command/master.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/master.go')
-rw-r--r--weed/command/master.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go
index e7113cd3e..37cfaf252 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -138,7 +138,7 @@ func startMaster(masterOption MasterOptions, masterWhiteList []string) {
masterPeers := make(map[string]pb.ServerAddress)
for _, peer := range peers {
- masterPeers[peer.String()] = peer
+ masterPeers[string(peer)] = peer
}
r := mux.NewRouter()