mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
Previously, default `Proxy` was unconditionally replaced with config value, which could be nil. It made impossible to use default http client proxy env variables. This commit adds check in oauth http client builder that only overwrites the transport proxy if a custom proxy url function is defined. Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/10385