Skip to content

Commit

Permalink
[docker] collect on Debian too
Browse files Browse the repository at this point in the history
Tested by:
 - manually patching file on Debian 11 and 12 (both on sos version 4.0.2)
 - sudo ./bin/sos report from this commit (and on python 3.11)

Signed-off-by: Johan Guldmyr <[email protected]>
  • Loading branch information
martbhell committed Jun 22, 2023
1 parent bf145bd commit 73d2e8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sos/report/plugins/docker.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,
SoSPredicate, CosPlugin, PluginOpt)
SoSPredicate, CosPlugin, PluginOpt,
DebianPlugin)


class Docker(Plugin, CosPlugin):
Expand Down Expand Up @@ -133,7 +134,7 @@ def setup(self):
])


class UbuntuDocker(Docker, UbuntuPlugin):
class UbuntuDocker(Docker, UbuntuPlugin, DebianPlugin):

packages = ('docker.io', 'docker-engine', 'docker-ce', 'docker-ee')

Expand Down

0 comments on commit 73d2e8c

Please sign in to comment.