Skip to content

Commit 310c1d3

Browse files
committed
fix obdiag deploy
1 parent e3a991a commit 310c1d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_cmd.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2017,6 +2017,9 @@ def __init__(self):
20172017

20182018
def _do_command(self, obd):
20192019
args = copy.copy(self.args)
2020+
if args[0]=="deploy":
2021+
ROOT_IO.print("Use 'obd tool install %s' instead" % COMP_OCEANBASE_DIAGNOSTIC_TOOL)
2022+
return obd.install_tool(COMP_OCEANBASE_DIAGNOSTIC_TOOL)
20202023
for i in range(len(self.args)):
20212024
if isinstance(self.args[i], str) and (self.args[i].startswith('--') or self.args[i].startswith('-')):
20222025
if self.args[i] == "--help" or self.args[i] == "-h":

0 commit comments

Comments
 (0)