Skip to content

Commit

Permalink
Fix core.get_services
Browse files Browse the repository at this point in the history
  • Loading branch information
themylogin committed Jan 28, 2025
1 parent a79c54c commit 97fc810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/service/core_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def get_services(self, app, target):
_typ = 'service'

config = {k: v for k, v in list(v._config.__dict__.items())
if not (k in ['entry', 'process_pool', 'thread_pool'] or k.startswith('_'))}
if not (k in ['entry', 'events', 'process_pool', 'thread_pool'] or k.startswith('_'))}
if config['cli_description'] is None:
if v.__doc__:
config['cli_description'] = inspect.getdoc(v).split("\n")[0].strip()
Expand Down

0 comments on commit 97fc810

Please sign in to comment.