Skip to content

Commit

Permalink
fix(linux): 🐛 fix changed network rates sensor types stringer
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Sep 26, 2024
1 parent 40cbb57 commit 64e9df9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion internal/linux/net/networkRates.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Parts of the code for collecting stats was adapted from Prometheus:
// https://github.com/prometheus/node_exporter//collector/netdev_linux.go

//go:generate stringer -type=rateSensor -output networkRates_generated.go -linecomment
//go:generate stringer -type=netStatsType -output networkRates_generated.go -linecomment
//revive:disable:unused-receiver
package net

Expand Down
12 changes: 6 additions & 6 deletions internal/linux/net/networkRates_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 64e9df9

Please sign in to comment.