mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-28 06:59:44 -08:00
Update collector/ethtool_linux.go
Signed-off-by: W. Andrew Denton <git@flying-snail.net> Co-authored-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
parent
5cf7968ad1
commit
76c0e1e5a1
|
@ -59,7 +59,7 @@ type ethtoolCollector struct {
|
|||
}
|
||||
|
||||
// makeEthtoolCollector is the internal constructor for EthtoolCollector.
|
||||
// This allows NewEthtoolTestCollector to override it's .stats interface
|
||||
// This allows NewEthtoolTestCollector to override its .stats interface
|
||||
// for testing.
|
||||
func makeEthtoolCollector(logger log.Logger) (*ethtoolCollector, error) {
|
||||
fs, err := sysfs.NewFS(*sysPath)
|
||||
|
|
Loading…
Reference in a new issue