Skip to content

Commit

Permalink
processmetrics: explicit type conversion to support arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
mlegner committed Nov 24, 2023
1 parent c890767 commit 2d0ae21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/private/processmetrics/processmetrics_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (c *procStatCollector) updateStat() error {
if err != nil {
return err
}
newCount := taskStat.Nlink - 2
newCount := uint64(taskStat.Nlink - 2)
if newCount != c.lastTaskCount {
c.taskListUpdates++
c.myProcs, err = procfs.AllThreads(c.myPid)
Expand Down

0 comments on commit 2d0ae21

Please sign in to comment.