influxdb/toml
Jonathan A. Sternberg e640104c9c
Fix ApplyEnvOverrides when a type that implements Unmarshaler is in a slice
Most parts of `ApplyEnvOverrides` will check if the value is empty
before attempting to apply the environment override. One exception is
that when a type implements Unmarshaler and it is within a slice, it
does not check that an empty value was passed.

This change fixes it so that we will not call `UnmarshalText` when the
environment variable is set to empty.
2018-11-18 10:49:04 -06:00
..
toml.go Fix ApplyEnvOverrides when a type that implements Unmarshaler is in a slice 2018-11-18 10:49:04 -06:00
toml_test.go Fix ApplyEnvOverrides when a type that implements Unmarshaler is in a slice 2018-11-18 10:49:04 -06:00