mirror of
https://github.com/prometheus/prometheus.git
synced 2026-10-28 10:44:59 +08:00
Using an empty directory string in os.CreateTemp created SD files in the shared global OS temp directory, causing file_sd watchers in scrape tests to watch all parallel test activity in os.TempDir() and leak temp files. Signed-off-by: Bartek Plotka <bwplotka@google.com>