VictoriaMetrics/lib/promauth
Aliaksandr Valialkin 810dd74fb9
lib/promscrape: properly implement ScrapeConfig.clone()
Previously ScrapeConfig.clone() was improperly copying promauth.Secret fields -
their contents was replaced with `<secret>` value.

This led to inability to use passwords and secrets in `-promscrape.config` file.
The bug has been introduced in v1.77.0 in the commit 67b10896d2

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2551
2022-05-07 00:06:19 +03:00
..
testdata basic OAuth2 support for remoteWrite and scrape targets (#1316) 2021-05-22 18:02:01 +03:00
config_test.go app/{vminsert,vmagent}: hide passwords and auth tokens by default at /config page 2021-11-05 14:42:13 +02:00
config.go lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:06:19 +03:00
util.go app: allow specifying http and https urls in the following command-line flags 2021-12-03 00:11:47 +02:00