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
cd4e28906b
commit
eb41b0b49a
1 changed files with 0 additions and 1 deletions
|
@ -74,7 +74,6 @@ def check(timeout):
|
||||||
print("Contacting {}...".format(ip),end='')
|
print("Contacting {}...".format(ip),end='')
|
||||||
try:
|
try:
|
||||||
subprocess.run(["ping", "-c", "1", "-W", str(timeout), ip],capture_output=True,check=True)
|
subprocess.run(["ping", "-c", "1", "-W", str(timeout), ip],capture_output=True,check=True)
|
||||||
nodes.append(ip)
|
|
||||||
print()
|
print()
|
||||||
except:
|
except:
|
||||||
fail=True
|
fail=True
|
||||||
|
|
Loading…
Add table
Reference in a new issue