From 32d73e8f48c2b3774d55f7be46b4f661634567c4 Mon Sep 17 00:00:00 2001 From: Marley Stipich <87209745+marleystipich2@users.noreply.github.com> Date: Wed, 18 May 2022 12:00:10 -0500 Subject: [PATCH] Add os major version 9 for Compliance (#3413) Signed-off-by: Marley Stipich --- insights/client/apps/compliance/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insights/client/apps/compliance/__init__.py b/insights/client/apps/compliance/__init__.py index d58b142bf9..569114933b 100644 --- a/insights/client/apps/compliance/__init__.py +++ b/insights/client/apps/compliance/__init__.py @@ -145,7 +145,7 @@ def os_release(self): return version def os_major_version(self): - return findall("^[6-8]", self.os_release())[0] + return findall("^[6-9]", self.os_release())[0] def os_minor_version(self): return findall("\d+$", self.os_release())[0]