prometheus/discovery/refresh
Viacheslav Panasovets 3d2e18bad5
Fix time.Since() in defer. Wrap in anonymous function (#11489)
Function arguments in defer evaluated during definition of defer, not
during execution

Signed-off-by: Slavik Panasovets <slavik@google.com>

Signed-off-by: Slavik Panasovets <slavik@google.com>
2022-10-26 00:26:12 +02:00
..
refresh.go Fix time.Since() in defer. Wrap in anonymous function (#11489) 2022-10-26 00:26:12 +02:00
refresh_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00