summaryrefslogtreecommitdiff
path: root/examples/s3/statobject.go
diff options
context:
space:
mode:
authorFélix Sipma <felix+debian@gueux.org>2018-01-05 11:09:43 +0100
committerFélix Sipma <felix+debian@gueux.org>2018-01-05 11:09:43 +0100
commit2e53196f9027ebb270b9e9a251ad39383a500c8f (patch)
tree833d20440bfb8baa3995877e4af8ff90765d08f4 /examples/s3/statobject.go
parentc7638802ac6c5efbe71dd2a58181ded9b52b8f32 (diff)
New upstream version 4.0.5
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)
}