PLT-7517 Added setting to enable tracing of Amazon S3 connections (#7349)
* PLT-7517 Added setting to enable tracing of Amazon S3 connections * Removed unnecessary placeholders on boolean settings * Added AmazonS3Trace to diagnostics * Updated AmazonS3Trace setting name in system console * Removing extra colon
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
cc289d7061
Коммит
09f8267751
@@ -272,6 +272,7 @@ type FileSettings struct {
|
||||
AmazonS3SSL *bool
|
||||
AmazonS3SignV2 *bool
|
||||
AmazonS3SSE *bool
|
||||
AmazonS3Trace *bool
|
||||
}
|
||||
|
||||
type EmailSettings struct {
|
||||
@@ -607,6 +608,11 @@ func (o *Config) SetDefaults() {
|
||||
*o.FileSettings.AmazonS3SSE = false // Not Encrypted by default.
|
||||
}
|
||||
|
||||
if o.FileSettings.AmazonS3Trace == nil {
|
||||
o.FileSettings.AmazonS3Trace = new(bool)
|
||||
*o.FileSettings.AmazonS3Trace = false
|
||||
}
|
||||
|
||||
if o.FileSettings.EnableFileAttachments == nil {
|
||||
o.FileSettings.EnableFileAttachments = new(bool)
|
||||
*o.FileSettings.EnableFileAttachments = true
|
||||
|
||||
Ссылка в новой задаче
Block a user