diff --git a/repository/repository.go b/repository/repository.go index bdd53c7..efa126c 100644 --- a/repository/repository.go +++ b/repository/repository.go @@ -181,7 +181,7 @@ func (repo *Repository) KeyList() []*Key { return list } -func (repo *Repository) CentralizedMap() []*proto.CentralizedStationRef { +func (repo *Repository) CentralizedList() []*proto.CentralizedStationRef { var list []*proto.CentralizedStationRef for _, model := range repo.centralizedMap { list = append(list, model)