Skip to content

Commit 5c8407b

Browse files
author
t-falconnet
committed
ethtool-linux: fix entry function
Signed-off-by: t-falconnet <[email protected]>
1 parent db87173 commit 5c8407b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/ethtool_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ func (c *ethtoolCollector) entryWithCreate(key, metricFQName string) *prometheus
446446
return c.entries[key]
447447
}
448448

449-
func (c *ethtoolCollector) entry(key) *prometheus.Desc {
449+
func (c *ethtoolCollector) entry(key string) *prometheus.Desc {
450450
c.entriesMutex.Lock()
451451
defer c.entriesMutex.Unlock()
452452
return c.entries[key]

0 commit comments

Comments
 (0)