From 476835903fde7a0610ae3674b2c6dc0377fcb992 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Mon, 10 Feb 2014 03:02:10 -0700 Subject: [PATCH] setting ACL correctly in S3 code --- pkg/build/script/publish/s3.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/build/script/publish/s3.go b/pkg/build/script/publish/s3.go index cfa75e7d..029b0b5f 100644 --- a/pkg/build/script/publish/s3.go +++ b/pkg/build/script/publish/s3.go @@ -65,8 +65,8 @@ func (s *S3) Write(f *buildfile.Buildfile) { // make sure a default access is set // let's be conservative and assume private - if len(s.Region) == 0 { - s.Region = "private" + if len(s.Access) == 0 { + s.Access = "private" } // if the target starts with a "/" we need