keep .vif file for ec to normal volume conversion

This commit is contained in:
Chris Lu 2019-12-28 21:52:55 -08:00
parent 672868b460
commit 509f314350

View file

@ -199,7 +199,6 @@ func (vs *VolumeServer) VolumeEcShardsDelete(ctx context.Context, req *volume_se
if err := os.Remove(baseFilename + ".ecj"); err != nil { if err := os.Remove(baseFilename + ".ecj"); err != nil {
return nil, err return nil, err
} }
os.Remove(baseFilename + ".vif")
} }
return &volume_server_pb.VolumeEcShardsDeleteResponse{}, nil return &volume_server_pb.VolumeEcShardsDeleteResponse{}, nil