Skip to content

Commit 7b0627d

Browse files
committed
fix for deploy command
1 parent 03bd92a commit 7b0627d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ def __init__(self):
20172017

20182018
def _do_command(self, obd):
20192019
args = copy.copy(self.args)
2020-
if args[0]=="deploy":
2020+
if args[0]=="deploy" and len(args)==1:
20212021
ROOT_IO.print("Use 'obd tool install %s' instead" % COMP_OCEANBASE_DIAGNOSTIC_TOOL)
20222022
return obd.install_tool(COMP_OCEANBASE_DIAGNOSTIC_TOOL)
20232023
for i in range(len(self.args)):

0 commit comments

Comments
 (0)