This commit is contained in:
Leufolium 2024-08-20 18:28:00 +08:00
parent 37b42ecc44
commit 22d415b509
1 changed files with 4 additions and 0 deletions

View File

@ -59,9 +59,13 @@ func ImportStreamerIntoEs() {
} }
zids := make([]int64, 0) zids := make([]int64, 0)
fmt.Printf("zid: [")
for _, zone := range zones { for _, zone := range zones {
zids = append(zids, zone.GetId()) zids = append(zids, zone.GetId())
fmt.Printf("%v ", zone.GetId())
} }
fmt.Printf("]")
zoneVases, _ := mcli.GetZoneVasByIds(ctx, zids) zoneVases, _ := mcli.GetZoneVasByIds(ctx, zids)
zoneVasMp := make(map[int64]*dbstruct.ZoneVas) zoneVasMp := make(map[int64]*dbstruct.ZoneVas)
for _, zoneVas := range zoneVases { for _, zoneVas := range zoneVases {