Skip to content

Commit

Permalink
fix: initiateUpload sign list number (#1358)
Browse files Browse the repository at this point in the history
* optimize scheduled deletion

* optimize scheduled deletion

* optimize scheduled deletion

* optimize scheduled deletion

* minio cache

* fix: conflicts

* feat: minio cache

* feat: cache optimize

* feat: cache optimize

* feat: cache optimize

* feat: cache optimize

* feat: cache optimize

* fix: initiateUpload sign list number
  • Loading branch information
withchao authored Nov 8, 2023
1 parent 82a8f33 commit 194a94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/db/s3/cont/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (c *Controller) InitiateUpload(ctx context.Context, hash string, size int64
}
var authSign *s3.AuthSignResult
if maxParts > 0 {
partNumbers := make([]int, partNumber)
partNumbers := make([]int, maxParts)
for i := 0; i < maxParts; i++ {
partNumbers[i] = i + 1
}
Expand Down

0 comments on commit 194a94c

Please sign in to comment.