1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

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