From be1e32aa36d2c1320e118006a39fc7e052c9b935 Mon Sep 17 00:00:00 2001 From: Jose Castillo Date: Thu, 18 Jan 2024 13:50:16 +0000 Subject: [PATCH] [kubernetes] Add DebianPlugin to plugin kubernetes Add DebianPlugin to the list of imports and the class UbuntuKubernetes. Related: #3484 Signed-off-by: Jose Castillo --- sos/report/plugins/kubernetes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sos/report/plugins/kubernetes.py b/sos/report/plugins/kubernetes.py index 5cd416c536..cfdec619fd 100644 --- a/sos/report/plugins/kubernetes.py +++ b/sos/report/plugins/kubernetes.py @@ -9,7 +9,8 @@ # # See the LICENSE file in the source distribution for further information. -from sos.report.plugins import Plugin, RedHatPlugin, UbuntuPlugin, PluginOpt +from sos.report.plugins import (Plugin, RedHatPlugin, DebianPlugin, + UbuntuPlugin, PluginOpt) from fnmatch import translate import re @@ -205,7 +206,7 @@ def setup(self): super(RedHatKubernetes, self).setup() -class UbuntuKubernetes(Kubernetes, UbuntuPlugin): +class UbuntuKubernetes(Kubernetes, UbuntuPlugin, DebianPlugin): packages = ('kubernetes',) files = (