Implemented AmazonS3PathPrefix (#14917)
* Implemented AmazonS3PathPrefix * Remove unecessary method * fix for test * fix for test which are failing * fix for test which are failing * fix for test Co-authored-by: Dusan Panic <dusan@salestrekker.com>
Этот коммит содержится в:
@@ -1265,6 +1265,7 @@ type FileSettings struct {
|
||||
AmazonS3AccessKeyId *string `restricted:"true"`
|
||||
AmazonS3SecretAccessKey *string `restricted:"true"`
|
||||
AmazonS3Bucket *string `restricted:"true"`
|
||||
AmazonS3PathPrefix *string `restricted:"true"`
|
||||
AmazonS3Region *string `restricted:"true"`
|
||||
AmazonS3Endpoint *string `restricted:"true"`
|
||||
AmazonS3SSL *bool `restricted:"true"`
|
||||
@@ -1329,6 +1330,10 @@ func (s *FileSettings) SetDefaults(isUpdate bool) {
|
||||
s.AmazonS3Bucket = NewString("")
|
||||
}
|
||||
|
||||
if s.AmazonS3PathPrefix == nil {
|
||||
s.AmazonS3PathPrefix = NewString("")
|
||||
}
|
||||
|
||||
if s.AmazonS3Region == nil {
|
||||
s.AmazonS3Region = NewString("")
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user