master #23
2
main.py
2
main.py
@ -30,7 +30,7 @@ def update_host(host: str) -> bool:
|
|||||||
if container_id_run.code != 0:
|
if container_id_run.code != 0:
|
||||||
print(f"something wrong {container_id_run.err}")
|
print(f"something wrong {container_id_run.err}")
|
||||||
return False
|
return False
|
||||||
container_name = container_id_run.out
|
container_name = container_id_run.out.strip()
|
||||||
if not container_name:
|
if not container_name:
|
||||||
print("Not correct node")
|
print("Not correct node")
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user