Skip to content

Commit

Permalink
contrib/load-attestation.py: fix invalid f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
herbetom committed Sep 24, 2024
1 parent 618a2ab commit c9980b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/load-attestation.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def print_attestation(data):

build_commit = build_definition["resolvedDependencies"][0]["digest"]["gitCommit"]
print(f" Commit: {build_commit}")
print(f" Run: {run_details["metadata"]["invocationId"]}")

invocation_id = run_details["metadata"]["invocationId"]
print(f" Run: {invocation_id}")

if __name__ == "__main__":
# Command: load-attestation.py [-o <owner> -r <repo>] <file-path>
Expand Down

0 comments on commit c9980b7

Please sign in to comment.