Merge pull request 'master' (#23) from master into dev
Reviewed-on: #23
This commit is contained in:
commit
a7b082dc7a
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