mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-13 01:22:05 -06:00
added log
This commit is contained in:
parent
de001ef784
commit
6fd17682dd
@ -41,6 +41,7 @@ func OpenTfUserAgent(version string) string {
|
||||
ua := fmt.Sprintf("%s/%s", defaultApplicationName, version)
|
||||
if customUa := os.Getenv(customUaEnvVar); customUa != "" {
|
||||
ua = customUa
|
||||
log.Printf("[DEBUG] Using Custom User-Agent: %s", ua)
|
||||
}
|
||||
|
||||
if add := os.Getenv(appendUaEnvVar); add != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user