mount: deletion ignore old vid
This commit is contained in:
@@ -50,7 +50,10 @@ func deleteFileIds(ctx context.Context, grpcDialOption grpc.DialOption, client f
|
|||||||
VolumeId: vid,
|
VolumeId: vid,
|
||||||
Locations: nil,
|
Locations: nil,
|
||||||
}
|
}
|
||||||
locations := resp.LocationsMap[vid]
|
locations, found := resp.LocationsMap[vid]
|
||||||
|
if !found {
|
||||||
|
continue
|
||||||
|
}
|
||||||
for _, loc := range locations.Locations {
|
for _, loc := range locations.Locations {
|
||||||
lr.Locations = append(lr.Locations, operation.Location{
|
lr.Locations = append(lr.Locations, operation.Location{
|
||||||
Url: loc.Url,
|
Url: loc.Url,
|
||||||
|
|||||||
Reference in New Issue
Block a user