mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-08 16:24:51 -04:00
os.GetEnv -> os.Getenv
This commit is contained in:
parent
e75d4f64bd
commit
9c2c99a587
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue