chore: fix some typos in comments
@ -6,7 +6,7 @@ import (
)
// Sleep awaits for provided interval.
// Can be interrupted by context cancelation.
// Can be interrupted by context cancellation.
func Sleep(ctx context.Context, interval time.Duration) error {
timer := time.NewTimer(interval)
select {
@ -471,7 +471,7 @@ func connectionsPidMaxWithoutUidsWithContext(ctx context.Context, kind string, p
}
if err != nil {
return nil, fmt.Errorf("cound not get pid(s), %d: %w", pid, err)
return nil, fmt.Errorf("could not get pid(s), %d: %w", pid, err)
return statsFromInodesWithContext(ctx, root, pid, tmap, inodes, skipUids)