Skip to content

Commit

Permalink
obdiag update 3.0.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
wayyoungboy committed Nov 28, 2024
1 parent 9258d67 commit 63b3879
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,13 +477,11 @@ def check(self, opts):

if self.context.obproxy_config.get("servers") is not None and len(self.context.obproxy_config.get("servers")) > 0:
obproxy_check_handler = CheckHandler(self.context, check_target_type="obproxy")
obproxy_check_handler.handle()
obproxy_result = obproxy_check_handler.execute()
obproxy_result = obproxy_check_handler.handle()
result_data['obproxy'] = obproxy_result
if self.context.cluster_config.get("servers") is not None and len(self.context.cluster_config.get("servers")) > 0:
observer_check_handler = CheckHandler(self.context, check_target_type="observer")
observer_check_handler.handle()
observer_result = observer_check_handler.execute()
observer_result = observer_check_handler.handle()
result_data['observer'] = observer_result
if obproxy_check_handler is not None:
obproxy_report_path = os.path.expanduser(obproxy_check_handler.report.get_report_path())
Expand Down

0 comments on commit 63b3879

Please sign in to comment.