aboutsummaryrefslogtreecommitdiff
path: root/collector/softnet_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'collector/softnet_linux.go')
-rw-r--r--collector/softnet_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/softnet_linux.go b/collector/softnet_linux.go
index e48f182..befec8e 100644
--- a/collector/softnet_linux.go
+++ b/collector/softnet_linux.go
@@ -72,7 +72,7 @@ func NewSoftnetCollector(logger log.Logger) (Collector, error) {
72func (c *softnetCollector) Update(ch chan<- prometheus.Metric) error { 72func (c *softnetCollector) Update(ch chan<- prometheus.Metric) error {
73 stats, err := c.fs.NetSoftnetStat() 73 stats, err := c.fs.NetSoftnetStat()
74 if err != nil { 74 if err != nil {
75 return fmt.Errorf("could not get softnet statistics: %s", err) 75 return fmt.Errorf("could not get softnet statistics: %w", err)
76 } 76 }
77 77
78 for cpuNumber, cpuStats := range stats { 78 for cpuNumber, cpuStats := range stats {