Fix the param type

This commit is contained in:
toranger
2019-07-01 11:57:11 +08:00
parent a87afe3e5c
commit 4294218982
3 changed files with 8 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ func main() {
}
// opt := &cos.ObjectListPartsOptions{
// MaxParts: 1,
// MaxParts: "1",
// }
v, _, err := c.Object.ListParts(ctx, name, uploadID, nil)
if err != nil {