Skip to content

Commit ad16d37

Browse files
committed
add auto install diag tool
1 parent 2b900c8 commit ad16d37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4791,6 +4791,8 @@ def obdiag_func(self, args, deploy_name):
47914791
return self.run_workflow(workflows, deploy_config.components, [repository], **{const.COMP_OCEANBASE_DIAGNOSTIC_TOOL: {"full_cmd": args, "deploy_config": deploy_config}})
47924792
else:
47934793
self._call_stdio('error', err.EC_OBDIAG_NOT_FOUND.format())
4794+
self._call_stdio('warn', '%s tool installation begins' % tool_name)
4795+
self.install_tool(tool_name)
47944796
return False
47954797

47964798
def obdiag_deploy(self, fuction_type):

0 commit comments

Comments
 (0)