mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Change ES trace config type from boolean to string (#11019)
This commit is contained in:
committed by
GitHub
parent
ec20d3a844
commit
74997a126e
@@ -397,7 +397,8 @@
|
||||
"IndexPrefix": "",
|
||||
"LiveIndexingBatchSize": 1,
|
||||
"BulkIndexingTimeWindowSeconds": 3600,
|
||||
"RequestTimeoutSeconds": 30
|
||||
"RequestTimeoutSeconds": 30,
|
||||
"Trace": ""
|
||||
},
|
||||
"DataRetentionSettings": {
|
||||
"EnableMessageDeletion": false,
|
||||
|
||||
@@ -1991,7 +1991,7 @@ type ElasticsearchSettings struct {
|
||||
LiveIndexingBatchSize *int `restricted:"true"`
|
||||
BulkIndexingTimeWindowSeconds *int `restricted:"true"`
|
||||
RequestTimeoutSeconds *int `restricted:"true"`
|
||||
Trace *bool `restricted:"true"`
|
||||
Trace *string `restricted:"true"`
|
||||
}
|
||||
|
||||
func (s *ElasticsearchSettings) SetDefaults() {
|
||||
@@ -2072,7 +2072,7 @@ func (s *ElasticsearchSettings) SetDefaults() {
|
||||
}
|
||||
|
||||
if s.Trace == nil {
|
||||
s.Trace = NewBool(false)
|
||||
s.Trace = NewString("")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user