list ec collections also

This commit is contained in:
Chris Lu
2019-05-30 09:17:58 -07:00
parent 866197eee3
commit e941d0c2f4
2 changed files with 15 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ func (ms *MasterServer) CollectionList(ctx context.Context, req *master_pb.Colle
collections := ms.Topo.ListCollections()
for _, c := range collections {
resp.Collections = append(resp.Collections, &master_pb.Collection{
Name: c.Name,
Name: c,
})
}