Skip to content

Commit

Permalink
[kubernetes] Add DebianPlugin to plugin kubernetes
Browse files Browse the repository at this point in the history
Add DebianPlugin to the list of imports and
the class UbuntuKubernetes.

Related: sosreport#3484

Signed-off-by: Jose Castillo <[email protected]>
  • Loading branch information
jcastill committed Jan 18, 2024
1 parent b94ced8 commit be1e32a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sos/report/plugins/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -205,7 +206,7 @@ def setup(self):
super(RedHatKubernetes, self).setup()


class UbuntuKubernetes(Kubernetes, UbuntuPlugin):
class UbuntuKubernetes(Kubernetes, UbuntuPlugin, DebianPlugin):

packages = ('kubernetes',)
files = (
Expand Down

0 comments on commit be1e32a

Please sign in to comment.