mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-25 22:26:37 +00:00
feat: Tolerate collector failures (#1769)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -25,7 +25,8 @@ import (
|
||||
)
|
||||
|
||||
// based on https://github.com/carlpett/winlsa/blob/master/winlsa.go
|
||||
|
||||
//
|
||||
//nolint:gochecknoglobals
|
||||
var (
|
||||
secur32 = windows.NewLazySystemDLL("Secur32.dll")
|
||||
advapi32 = windows.NewLazySystemDLL("advapi32.dll")
|
||||
|
||||
Reference in New Issue
Block a user