Skip to content

Commit bc28aa7

Browse files
committed
Document fallback to os env in expandWithEnv
1 parent ef2d336 commit bc28aa7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/config/config/env_file.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ func expandWithEnv(value string, envMap map[string]string) string {
169169
}
170170
}
171171

172+
// If lets own env does not have declared env var, fallback to os env
172173
return os.Getenv(key)
173174
})
174175
}

0 commit comments

Comments
 (0)