This commit is contained in:
parent
37b42ecc44
commit
22d415b509
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue