From 59e2e1d2dfade3e84991e4091fbdffd820abfb7a Mon Sep 17 00:00:00 2001 From: Adrian Todorov Date: Sun, 7 Jan 2018 15:47:30 +0100 Subject: [PATCH] bugfix --- vsphere-influxdb.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vsphere-influxdb.go b/vsphere-influxdb.go index 95672c2..b923d6e 100644 --- a/vsphere-influxdb.go +++ b/vsphere-influxdb.go @@ -833,10 +833,6 @@ func main() { config.InfluxDB.Password = os.Getenv("INFLUX_PASSWORD") config.InfluxDB.Database = os.Getenv("INFLUX_DATABASE") } - // Add a default "" value for InfluxDB prefix for retrocompatibility post PR #53 - if config.InfluxDB.Prefix == nil { - config.InfluxDB.Prefix = "" - } // Support environment variables for VSphere // Currently ony one server is supported and added to the list of vSphere servers if vhostname := os.Getenv("VSPHERE_HOSTNAME"); vhostname != "" {