diff options
Diffstat (limited to 'clusterman/commands/node.py')
| -rw-r--r-- | clusterman/commands/node.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clusterman/commands/node.py b/clusterman/commands/node.py index fba42ec..057c4d5 100644 --- a/clusterman/commands/node.py +++ b/clusterman/commands/node.py @@ -1,6 +1,6 @@ import os, json, time, re, sys, subprocess from clusterman.config import CONF -import clusterman.utils as utils +import clusterman.utils as utils def ls(group=None): @@ -61,7 +61,7 @@ def check(timeout): print("Error: Some of your nodes are not reachable") def exec(command, group=None): - nodes=utils.get_node_list() if group is None else get_node_in_group(group) + nodes=utils.get_node_list() if group is None else utils.get_node_in_group(group) for ip in nodes: print("----- Node {} -----".format(ip)) print(utils.ssh_exec(ip," ".join(command))) |
