Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

weed/operation/delete_content.go: nil pointer dereference

banjiaojuhaofc3b75f2f858
diff --git a/weed/operation/delete_content.go b/weed/operation/delete_content.go
index 996c0b29e1..587cf1d011 100644
--- a/weed/operation/delete_content.go
+++ b/weed/operation/delete_content.go
@@ -81,7 +81,7 @@ func DeleteFilesWithLookupVolumeId(grpcDialOption grpc.DialOption, fileIds []str
ret = append(ret, &volume_server_pb.DeleteResult{
FileId: vid,
Status: http.StatusBadRequest,
- Error: err.Error()},
+ Error: result.Error},
)
continue
}