From 52c110b7ede92af97e3685d4afd73a128ddd443b Mon Sep 17 00:00:00 2001 From: jojoliang Date: Tue, 21 Jan 2020 15:39:18 +0800 Subject: [PATCH] add checkpoint multi upload: update --- object.go | 1 + 1 file changed, 1 insertion(+) diff --git a/object.go b/object.go index 514c5c2..03738cb 100644 --- a/object.go +++ b/object.go @@ -605,6 +605,7 @@ func SplitFileIntoChunks(name, filePath string, opt *MultiUploadOptions) (*Check break } if optcp.Key != name || optcp.FilePath != filePath || optcp.FileSize != stat.Size() { + optcp = &CheckPointOptions{} break } uploaded = true