From 2e53196f9027ebb270b9e9a251ad39383a500c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Sipma?= Date: Fri, 5 Jan 2018 11:09:43 +0100 Subject: New upstream version 4.0.5 --- examples/s3/statobject.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/s3/statobject.go') 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) } -- cgit v1.2.3