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:
parent
6824d3f799
commit
78f5fb295c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue