From c2010ce0b4bd2c0dc3f370c21029fe02880867f8 Mon Sep 17 00:00:00 2001 From: lewis <747342561@qq.com> Date: Mon, 18 Apr 2022 15:59:54 +0800 Subject: [PATCH] fix bug --- modules/storage/obs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/storage/obs.go b/modules/storage/obs.go index 44de3a25e..2b52ab603 100755 --- a/modules/storage/obs.go +++ b/modules/storage/obs.go @@ -60,7 +60,7 @@ func ObsHasObject(path string) (bool, error) { } func listAllParts(uuid, uploadID, key string) (output *obs.ListPartsOutput, err error) { - output = nil + output = &obs.ListPartsOutput{} partNumberMarker := 0 for { temp, err := ObsCli.ListParts(&obs.ListPartsInput{