added log

This commit is contained in:
Elbaz 2023-08-27 17:39:55 +03:00
parent de001ef784
commit 6fd17682dd

View File

@ -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 != "" {