Compare commits
3 Commits
741eed066c
...
a7b082dc7a
| Author | SHA1 | Date | |
|---|---|---|---|
| a7b082dc7a | |||
|
|
0258778e5c | ||
|
|
9778a5168b |
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
|
||||||
|
|||||||
Reference in New Issue
Block a user