Skip to content

Commit

Permalink
fix(linux/proc): 🐛 fix stringer generation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed May 7, 2024
1 parent 28af3d6 commit b0e5dc8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions pkg/linux/proc/diskStatStrings.go

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

2 changes: 1 addition & 1 deletion pkg/linux/proc/diskstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/rs/zerolog/log"
)

//go:generate stringer -type=DiskStat -output diskStatStrings.go -linecomment
//go:generate stringer -type=Stat -output diskStatStrings.go -linecomment
const (
TotalReads Stat = iota // Total reads completed
TotalReadsMerged // Total reads merged
Expand Down

0 comments on commit b0e5dc8

Please sign in to comment.