mirror of
https://github.com/prometheus/prometheus.git
synced 2026-03-03 05:40:36 -05:00
* add test to custom-sd/adapter writeOutput() function Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com> * fix Adapter.writeOutput() function to work on Windows On that platform, files cannot be moved while a process holds a handle to them. Added an explicit Close() before that move. With this change, the unit test succeeds. Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com> * add missing dot to comment Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com> |
||
|---|---|---|
| .. | ||
| adapter.go | ||
| adapter_test.go | ||