mirror of
https://gitlab.com/manzerbredes/clusterman.git
synced 2025-04-05 11:36:25 +02:00
Minor changes
This commit is contained in:
parent
5914c11c89
commit
bdbb257030
1 changed files with 3 additions and 2 deletions
|
@ -60,10 +60,11 @@ def main():
|
|||
else:
|
||||
node.ls()
|
||||
elif args.command == "exec":
|
||||
use_key=not args.login
|
||||
if args.group:
|
||||
node.exec(args.cmd,args.group,args.login)
|
||||
node.exec(args.cmd,args.group,use_key)
|
||||
else:
|
||||
node.exec(args.cmd,args.login)
|
||||
node.exec(args.cmd, use_key=use_key)
|
||||
else:
|
||||
target_node.print_help(sys.stderr)
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Add table
Reference in a new issue