feat: [CI-18951]: added a log when harness fallback is used

This commit is contained in:
Chirag S
2026-02-18 10:56:51 +05:30
parent f32aa46ea8
commit e70d271e93
+5 -1
View File
@@ -612,7 +612,11 @@ func getProxyValue(key string) string {
return value
}
return os.Getenv("HARNESS_" + strings.ToUpper(key))
harnessValue := os.Getenv("HARNESS_" + strings.ToUpper(key))
if len(harnessValue) > 0 {
fmt.Printf("Using HARNESS_%s as proxy value for %s\n", strings.ToUpper(key), key)
}
return harnessValue
}
// helper function that looks to see if a proxy value was set in the build args.