From dd5acc286aed16a89b57806f3d0a77c7c3e483fc Mon Sep 17 00:00:00 2001 From: Evans Mungai Date: Tue, 23 Jul 2024 16:20:07 +0100 Subject: [PATCH] Minor fix in logic Signed-off-by: Evans Mungai --- pkg/analyze/host_os_info.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/analyze/host_os_info.go b/pkg/analyze/host_os_info.go index 07e8a0e3a..1e38bd8db 100644 --- a/pkg/analyze/host_os_info.go +++ b/pkg/analyze/host_os_info.go @@ -111,7 +111,6 @@ func analyzeOSVersionResult(osInfo collect.HostOSInfo, outcomes []*troubleshootv if whenRange(toleratedKernelVer) { return []*AnalyzeResult{&result}, nil } - return []*AnalyzeResult{}, nil } // Match the platform version and and kernel version passed in as