The 'cmd' module is introduced to make the CLI easy to use. (#10542)

…pdate comand

### What problem does this PR solve?

To make the CLI easy to use.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2025-10-14 14:53:00 +08:00
committed by GitHub
parent f92a45dcc4
commit 5b387b68ba
2 changed files with 51 additions and 20 deletions

View File

@ -179,7 +179,6 @@ class ServiceMgr:
configs = SERVICE_CONFIGS.configs
for service_id, config in enumerate(configs):
config_dict = config.to_dict()
service_detail = None
try:
service_detail = ServiceMgr.get_service_details(service_id)
if service_detail['alive']: