Skip to content

Commit

Permalink
docs: fix API.md typo (#1435)
Browse files Browse the repository at this point in the history
Fix typo. It should be ListObjectsOptions not ListObjectOptions
  • Loading branch information
maxsxu authored Dec 24, 2020
1 parent 928f868 commit fbedcb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ ctx, cancel := context.WithCancel(context.Background())

defer cancel()

objectCh := minioClient.ListObjects(ctx, "mybucket", ListObjectOptions{
objectCh := minioClient.ListObjects(ctx, "mybucket", ListObjectsOptions{
Prefix: "myprefix",
Recursive: true,
})
Expand Down

0 comments on commit fbedcb5

Please sign in to comment.