mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 17:30:30 +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
|
// make sure a default access is set
|
||||||
// let's be conservative and assume private
|
// let's be conservative and assume private
|
||||||
if len(s.Region) == 0 {
|
if len(s.Access) == 0 {
|
||||||
s.Region = "private"
|
s.Access = "private"
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the target starts with a "/" we need
|
// if the target starts with a "/" we need
|
||||||
|
|
Loading…
Reference in a new issue