diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-11-20 18:57:52 +0100 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-11-20 18:57:52 +0100 |
| commit | a4d3e7134230b02387a8840660eb3de17ff0b88f (patch) | |
| tree | 57b282d5273d5bd075d5b5b5220492cf42a3e960 /clusterman/commands/node.py | |
| parent | 9d1fe3b046787d35a7030c2dbb1391b7ac398d49 (diff) | |
Minor changes
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))) |
