From edffc4c68bca1c2fd0d568b6a2ce1b78fd337cd1 Mon Sep 17 00:00:00 2001 From: songjc <969378911@qq.com> Date: Thu, 10 Aug 2023 15:17:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/services/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/services/storage.go b/internal/services/storage.go index 757bec6..f5bc8c9 100644 --- a/internal/services/storage.go +++ b/internal/services/storage.go @@ -61,7 +61,7 @@ func (svc *Service) PreMoveObjectToStorage(msg *coormsg.PreMoveObjectToStorage) return ramsg.ReplyOK(coormsg.NewPreMoveObjectToStorageRespBody( stg.NodeID, stg.Directory, - object.FileSize, + object, models.NewRedundancyRepData(objectRep.FileHash), ))