Skip to content

Commit

Permalink
refactor: Adjust URL construction logic in integration
Browse files Browse the repository at this point in the history
  • Loading branch information
ShocOne committed Jun 20, 2024
1 parent d1b5be3 commit 54bc4e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion httpclient/config_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ func LoadConfigFromFile(filepath string) (*ClientConfig, error) {
return &config, nil
}

// LoadConfigFromEnv loads configuration settings from environment variables.
// LoadConfigFromEnv loads HTTP client configuration settings from environment variables.
// If any environment variables are not set, the default values defined in the constants are used instead.
func LoadConfigFromEnv() (*ClientConfig, error) {
config := &ClientConfig{
HideSensitiveData: getEnvAsBool("HIDE_SENSITIVE_DATA", DefaultHideSensitiveData),
Expand Down

0 comments on commit 54bc4e7

Please sign in to comment.