mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user