Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sofixa committed Jan 7, 2018
1 parent a461957 commit 59e2e1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions vsphere-influxdb.go
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit 59e2e1d

Please sign in to comment.