Skip to content

Commit

Permalink
storage: use pointer receiver for ObjectAttrs
Browse files Browse the repository at this point in the history
Change-Id: Ifc32cc1a3cd2df361f1c5a42abca514a2c4824e9
Reviewed-on: https://code-review.googlesource.com/8996
Reviewed-by: Michael Darakananda <[email protected]>
  • Loading branch information
jba committed Nov 1, 2016
1 parent bd8a5e8 commit 384ca55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 384ca55

Please sign in to comment.