(self, sid: str)
| 589 | return None |
| 590 | |
| 591 | def get_service_log(self, sid: str) -> Tuple[bool, str]: |
| 592 | conf = self._get_service_conf_by_sid(sid) |
| 593 | if conf is None: |
| 594 | return False, "未找到该服务" |
| 595 | service = self._build_service_by_conf(conf) |
| 596 | if isinstance(service, str): |
| 597 | return False, service |
| 598 | return True, service.get_log() |
| 599 | |
| 600 | def get_services_info(self) -> List[dict]: |
| 601 | res = [] |
nothing calls this directly
no test coverage detected