weed/operation/delete_content.go: nil pointer dereference

This commit is contained in:
banjiaojuhao 2022-02-15 23:07:03 +08:00
parent 17ac5244c3
commit fc3b75f2f8

View file

@ -81,7 +81,7 @@ func DeleteFilesWithLookupVolumeId(grpcDialOption grpc.DialOption, fileIds []str
ret = append(ret, &volume_server_pb.DeleteResult{ ret = append(ret, &volume_server_pb.DeleteResult{
FileId: vid, FileId: vid,
Status: http.StatusBadRequest, Status: http.StatusBadRequest,
Error: err.Error()}, Error: result.Error},
) )
continue continue
} }