Update dhcp.go

Re-add DHCP perflib dependency

Fixes https://github.com/prometheus-community/windows_exporter/issues/1259

Signed-off-by: Jan-Otto Kröpke <github@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke 2023-11-12 21:34:38 +01:00 committed by GitHub
parent 6824d3f799
commit 78f5fb295c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func (c *collector) SetLogger(logger log.Logger) {
}
func (c *collector) GetPerfCounter() ([]string, error) {
return []string{}, nil
return []string{"DHCP Server"}, nil
}
func (c *collector) Build() error {