We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4df23d commit 7d95e80Copy full SHA for 7d95e80
pkg/private/processmetrics/processmetrics_linux.go
@@ -123,7 +123,8 @@ func (c *procStatCollector) updateStat() error {
123
if err != nil {
124
return err
125
}
126
- newCount := taskStat.Nlink - 2
+ //nolint:unconvert // this is required for arm64 support
127
+ newCount := uint64(taskStat.Nlink - 2)
128
if newCount != c.lastTaskCount {
129
c.taskListUpdates++
130
c.myProcs, err = procfs.AllThreads(c.myPid)
0 commit comments