From 384ca5563740d2c07e9773b66107fdb7da979d59 Mon Sep 17 00:00:00 2001 From: Jonathan Amsterdam Date: Mon, 31 Oct 2016 06:29:36 -0400 Subject: [PATCH] storage: use pointer receiver for ObjectAttrs Change-Id: Ifc32cc1a3cd2df361f1c5a42abca514a2c4824e9 Reviewed-on: https://code-review.googlesource.com/8996 Reviewed-by: Michael Darakananda --- storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/storage.go b/storage/storage.go index 9dccf5ae2f9c..677731b2bca0 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -616,7 +616,7 @@ func toRawObjectACL(oldACL []ACLRule) []*raw.ObjectAccessControl { } // toRawObject copies the editable attributes from o to the raw library's Object type. -func (o ObjectAttrs) toRawObject(bucket string) *raw.Object { +func (o *ObjectAttrs) toRawObject(bucket string) *raw.Object { acl := toRawObjectACL(o.ACL) return &raw.Object{ Bucket: bucket,