Fix logging formatting

This commit is contained in:
Mikhail f. Shiryaev 2023-02-09 13:44:38 +01:00
parent 648697f085
commit c994c41e74
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -31,7 +31,7 @@ def pull_image(image_name: str) -> bool:
subprocess.check_call(f"docker pull {image_name}", shell=True)
return True
except subprocess.CalledProcessError:
logging.info(f"Cannot pull image {image_name}".format())
logging.info("Cannot pull image %s", image_name)
return False