Skip to content

Commit

Permalink
[discovery] collect also logs from container discovery-toolbox
Browse files Browse the repository at this point in the history
As part of the discovery is also discovery-toolbox plugin
we should collect also logs from this plugin which may
be helpful in debugging issues.

Signed-off-by: Jan Jansky <[email protected]>
  • Loading branch information
root authored and jjansky1 committed Dec 12, 2023
1 parent 1c2d1b9 commit b33443b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sos/report/plugins/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Discovery(Plugin, RedHatPlugin):
short_desc = 'Discovery inspection and reporting tool'
plugin_name = 'discovery'
packages = ('discovery', 'discovery-tools',)
containers = ('dsc-db', 'discovery',)
containers = ('dsc-db', 'discovery', 'discovery-toolbox')

def setup(self):
self.add_copy_spec([
Expand All @@ -29,6 +29,7 @@ def setup(self):

self.add_container_logs([
'discovery',
'dsc-db'
'dsc-db',
'discovery-toolbox'
])
# vim: set et ts=4 sw=4 :

0 comments on commit b33443b

Please sign in to comment.