Skip to content

Commit

Permalink
fix: Correct operator
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
  • Loading branch information
mahendrapaipuri committed Jan 4, 2024
1 parent f3ef91e commit e5c3230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgroup2/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ func getStatPSIFromFile(path string) *stats.PSIStats {
}

if err := sc.Err(); err != nil {
if !errors.Is(err, unix.ENOTSUP) || !errors.Is(err, unix.EOPNOTSUPP) {
if !errors.Is(err, unix.ENOTSUP) && !errors.Is(err, unix.EOPNOTSUPP) {
logrus.Errorf("unable to parse PSI data: %v", err)
}
return nil
Expand Down

0 comments on commit e5c3230

Please sign in to comment.