From a4d3e7134230b02387a8840660eb3de17ff0b88f Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Mon, 20 Nov 2023 18:57:52 +0100 Subject: Minor changes --- clusterman/commands/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clusterman/commands/node.py') 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))) -- cgit v1.2.3