forked from core/mobile_nebula
Remove backend config mapping for logUserTZ
Since logUserTZ conversion will happen on the frontend, we no longer need to store this configuration in the Nebula agent config.
This commit is contained in:
parent
fe816a926d
commit
150e3d2efc
|
@ -154,7 +154,6 @@ type configLogging struct {
|
|||
Level string `yaml:"level"`
|
||||
Format string `yaml:"format"`
|
||||
TimestampFormat string `yaml:"timestamp_format,omitempty"`
|
||||
UserTimeZone bool `yaml:"logLocalTZ"`
|
||||
}
|
||||
|
||||
type configStats struct {
|
||||
|
|
|
@ -65,9 +65,6 @@ func RenderConfig(configData string, key string) (string, error) {
|
|||
config.Logging.Level = val
|
||||
}
|
||||
|
||||
b, _ := d["logLocalTZ"].(bool)
|
||||
config.Logging.UserTimeZone = bool(b)
|
||||
|
||||
i, _ = d["lhDuration"].(float64)
|
||||
config.Lighthouse.Interval = int(i)
|
||||
|
||||
|
|
Loading…
Reference in New Issue