Skip to content

Commit

Permalink
Update examples/minio/listobjectsV2WithMetadata.go
Browse files Browse the repository at this point in the history
Co-authored-by: Klaus Post <[email protected]>
  • Loading branch information
harshavardhana and klauspost authored Jul 10, 2023
1 parent 300b8ce commit 3c914df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/minio/listobjectsV2WithMetadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func main() {

// New returns an Amazon S3 compatible client object. API compatibility (v2 or v4) is automatically
// determined based on the Endpoint value.
minioClient, err := minio.New("play.min.io", &minio.Options{
s3Client, err := minio.New("play.min.io", &minio.Options{
Creds: credentials.NewStaticV4("YOUR-ACCESSKEYID", "YOUR-SECRETACCESSKEY", ""),
Secure: true,
})
Expand Down

0 comments on commit 3c914df

Please sign in to comment.