summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Verna <cverna@tutanota.com>2019-06-04 13:14:45 +0200
committerClement Verna <cverna@tutanota.com>2019-06-04 13:14:45 +0200
commit9ec1b2190b8d552cb7f8add6880648516fd70256 (patch)
tree142a46dea1de121dde3855e1f34815489f2e7ef9
parent8093e55cdd9b2fa82167c2d25e2a494f6cea854a (diff)
downloadansible-9ec1b2190b8d552cb7f8add6880648516fd70256.zip
ansible-9ec1b2190b8d552cb7f8add6880648516fd70256.tar.gz
ansible-9ec1b2190b8d552cb7f8add6880648516fd70256.tar.xz
delete_old_oci_images: fix old f-string format
Signed-off-by: Clement Verna <cverna@tutanota.com>
-rw-r--r--library/delete_old_oci_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/delete_old_oci_images.py b/library/delete_old_oci_images.py
index 26bfbf9..0924684 100644
--- a/library/delete_old_oci_images.py
+++ b/library/delete_old_oci_images.py
@@ -115,7 +115,7 @@ def main():
image = resp.json()
# Log the repositories that don't have any tags
if image["tags"] is None:
- result["stdout_lines"].append("{repo} does not have any tags".format(repo))
+ result["stdout_lines"].append("{} does not have any tags".format(repo))
continue
# For each tag get the maninfest
for tag in image["tags"]: