From 063062a0adeeaad579dfaea263b2b75bbafc1cd6 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Thu, 30 Mar 2023 14:28:45 +0800 Subject: [PATCH] third --- pkg/common/db/controller/storage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/common/db/controller/storage.go b/pkg/common/db/controller/storage.go index aa9185df9..542252783 100644 --- a/pkg/common/db/controller/storage.go +++ b/pkg/common/db/controller/storage.go @@ -227,12 +227,12 @@ func (c *s3Database) GetPut(ctx context.Context, req *third.GetPutReq) (*third.G }) if err != nil { if c.obj.IsNotFound(err) { - fragments[i] = &third.GetPutFragment{} + fragments[i] = &third.GetPutFragment{Url: urls[i]} continue } return nil, err } - fragments[i] = &third.GetPutFragment{Size: o.Size, Hash: o.Hash} + fragments[i] = &third.GetPutFragment{Size: o.Size, Hash: o.Hash, Url: urls[i]} } var validTime int64 if up.ValidTime != nil {