Use INFLUXDB as env var prefix

pull/3592/head
Jason Wilder 2015-08-09 16:06:38 -06:00
parent 43804596dc
commit 775dadadf5
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func (c *Config) Validate() error {
}
func (c *Config) ApplyEnvOverrides() error {
return c.applyEnvOverrides("", reflect.ValueOf(c))
return c.applyEnvOverrides("INFLUXDB", reflect.ValueOf(c))
}
func (c *Config) applyEnvOverrides(prefix string, spec reflect.Value) error {