mirror of
https://github.com/spf13/viper.git
synced 2026-10-21 07:05:59 +00:00
Fixed typo
This commit is contained in:
@@ -302,7 +302,7 @@ func find(key string) interface{} {
|
||||
if exists {
|
||||
jww.TRACE.Println(key, "registered as env var", envkey)
|
||||
if val = os.Getenv(envkey); val != "" {
|
||||
jww.TRACE.Println(envkey, "found in environement with val:", val)
|
||||
jww.TRACE.Println(envkey, "found in environment with val:", val)
|
||||
return val
|
||||
} else {
|
||||
jww.TRACE.Println(envkey, "env value unset:")
|
||||
|
||||
Reference in New Issue
Block a user