Merge pull request #1624 from camcui/master

chore: fix some typos in comments
pull/1626/head
shirou 11 months ago committed by GitHub
commit df3a945879
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)
}

Loading…
Cancel
Save