From 150e3d2efcda6feea0e1a35c8b8ef50a3e14781c Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 16 Dec 2020 10:14:41 -0500 Subject: [PATCH] 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. --- nebula/config.go | 1 - nebula/mobileNebula.go | 3 --- 2 files changed, 4 deletions(-) diff --git a/nebula/config.go b/nebula/config.go index 92f756f..3625995 100644 --- a/nebula/config.go +++ b/nebula/config.go @@ -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 { diff --git a/nebula/mobileNebula.go b/nebula/mobileNebula.go index 0d74c7d..10f415d 100644 --- a/nebula/mobileNebula.go +++ b/nebula/mobileNebula.go @@ -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)