Skip to content

Commit

Permalink
Use id but with comment
Browse files Browse the repository at this point in the history
Signed-off-by: Mihai Maruseac <mihaimaruseac@google.com>
  • Loading branch information
mihaimaruseac committed Sep 11, 2024
1 parent 87bdaca commit cfb9c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def run(args: argparse.Namespace) -> None:

# 3. Signing layer
if args.skip_manifest:
in_toto_builder = (lambda x: x) # do nothing
in_toto_builder = id # Do nothing, just evaluate the argument
else:
if args.single_digest:
in_toto_builder = in_toto.SingleDigestIntotoPayload
Expand Down

0 comments on commit cfb9c74

Please sign in to comment.