summaryrefslogtreecommitdiff
path: root/examples/s3/statobject.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/s3/statobject.go')
-rw-r--r--examples/s3/statobject.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/s3/statobject.go b/examples/s3/statobject.go
index 4c5453a..0b27a83 100644
--- a/examples/s3/statobject.go
+++ b/examples/s3/statobject.go
@@ -1,7 +1,8 @@
// +build ignore
/*
- * Minio Go Library for Amazon S3 Compatible Cloud Storage (C) 2015 Minio, Inc.
+ * Minio Go Library for Amazon S3 Compatible Cloud Storage
+ * Copyright 2015-2017 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +38,7 @@ func main() {
if err != nil {
log.Fatalln(err)
}
- stat, err := s3Client.StatObject("my-bucketname", "my-objectname")
+ stat, err := s3Client.StatObject("my-bucketname", "my-objectname", minio.StatObjectOptions{})
if err != nil {
log.Fatalln(err)
}