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:
Michael Brown 2020-12-16 10:14:41 -05:00
parent fe816a926d
commit 150e3d2efc
No known key found for this signature in database
GPG Key ID: 3F02D82B487AD431
2 changed files with 0 additions and 4 deletions

View File

@ -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 {

View File

@ -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)