Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
RincewindsHat committed May 9, 2024
1 parent a7d9a33 commit 19f2349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/psi.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ func checkPsiIoPressure(config *psiConfig) result.PartialResult {
}

ioFullSc := result.PartialResult{}
ioFullSc.SetDefaultState(check.OK)
_ = ioFullSc.SetDefaultState(check.OK)

if ioCheck.Perfdata[psi.IoFullAvg10].Warn.DoesViolate(psiIo.Full.Avg10) ||
ioCheck.Perfdata[psi.IoFullAvg60].Warn.DoesViolate(psiIo.Full.Avg60) ||
Expand Down Expand Up @@ -489,7 +489,7 @@ func checkPsiIoPressure(config *psiConfig) result.PartialResult {
}

ioSomeSc := result.PartialResult{}
ioSomeSc.SetDefaultState(check.OK)
_ = ioSomeSc.SetDefaultState(check.OK)

if (ioCheck.GetStatus() != check.Critical) && (ioCheck.GetStatus() != check.Warning) {
if ioCheck.Perfdata[psi.IoSomeAvg10].Warn.DoesViolate(psiIo.Some.Avg10) ||
Expand Down

0 comments on commit 19f2349

Please sign in to comment.