mirror of
https://gitlab.com/manzerbredes/clusterman.git
synced 2025-04-06 03:56:27 +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:
|
else:
|
||||||
node.ls()
|
node.ls()
|
||||||
elif args.command == "exec":
|
elif args.command == "exec":
|
||||||
|
use_key=not args.login
|
||||||
if args.group:
|
if args.group:
|
||||||
node.exec(args.cmd,args.group,args.login)
|
node.exec(args.cmd,args.group,use_key)
|
||||||
else:
|
else:
|
||||||
node.exec(args.cmd,args.login)
|
node.exec(args.cmd, use_key=use_key)
|
||||||
else:
|
else:
|
||||||
target_node.print_help(sys.stderr)
|
target_node.print_help(sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue