From fc3b75f2f85812b0053c31778ac128525b09624e Mon Sep 17 00:00:00 2001 From: banjiaojuhao Date: Tue, 15 Feb 2022 23:07:03 +0800 Subject: [PATCH] weed/operation/delete_content.go: nil pointer dereference --- weed/operation/delete_content.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/operation/delete_content.go b/weed/operation/delete_content.go index 996c0b29e..587cf1d01 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 }