|
@ -93,7 +93,7 @@ func (vs *VolumeServer) DeleteHandler(w http.ResponseWriter, r *http.Request) { |
|
|
ecVolume, hasEcVolume := vs.store.FindEcVolume(volumeId) |
|
|
ecVolume, hasEcVolume := vs.store.FindEcVolume(volumeId) |
|
|
|
|
|
|
|
|
if hasEcVolume { |
|
|
if hasEcVolume { |
|
|
count, err := vs.store.DeleteEcShardNeedle(context.Background(), ecVolume, n, cookie); |
|
|
|
|
|
|
|
|
count, err := vs.store.DeleteEcShardNeedle(context.Background(), ecVolume, n, cookie) |
|
|
writeDeleteResult(err, count, w, r) |
|
|
writeDeleteResult(err, count, w, r) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|