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 New Issue