mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-13 19:09:38 +00:00
setting ACL correctly in S3 code
This commit is contained in:
parent
78839ece3b
commit
476835903f
|
@ -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