s/Region/Access/

This commit is contained in:
Robert Sköld 2014-02-10 12:53:55 +01:00
parent 453caf033d
commit 7c4299778f

View file

@ -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