mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 09:20:31 +00:00
setting ACL correctly in S3 code
This commit is contained in:
parent
78839ece3b
commit
476835903f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue