From 7c4299778f070f6f38d0a67c8e14244eaee3e4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sk=C3=B6ld?= Date: Mon, 10 Feb 2014 12:53:55 +0100 Subject: [PATCH] s/Region/Access/ --- pkg/plugin/publish/s3.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/plugin/publish/s3.go b/pkg/plugin/publish/s3.go index cfa75e7d..029b0b5f 100644 --- a/pkg/plugin/publish/s3.go +++ b/pkg/plugin/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