From 19f23490685ce08042f32faaf2ec39fa54e0f7e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 9 May 2024 20:28:23 +0200 Subject: [PATCH] Make linter happy --- cmd/psi.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/psi.go b/cmd/psi.go index 09dde08..b8df488 100644 --- a/cmd/psi.go +++ b/cmd/psi.go @@ -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) || @@ -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) ||