diff --git a/library/delete_old_oci_images.py b/library/delete_old_oci_images.py index 26bfbf9a8d..0924684aea 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"]: