os.GetEnv -> os.Getenv

This commit is contained in:
Tim Schindler 2016-06-30 18:53:55 +00:00
parent 24c6a605ea
commit 23f08a139c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ func newEtcdBackend(conf map[string]string, logger *log.Logger) (Backend, error)
if address, ok := conf["address"]; ok {
machines = address
}
machinesEnv := os.GetEnv("ETCD_ADDR")
machinesEnv := os.Getenv("ETCD_ADDR")
if machinesEnv != "" {
machines = machinesEnv
}