Skip to content

Commit

Permalink
Output
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed Jun 1, 2022
1 parent 0602dc1 commit 239b61c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,11 @@ def main(argv: Sequence[str]) -> None:
if output_cached_md5 != device_md5:
flush_print(f"OUTPUT MISMATCH {device}: {fix_instrucitons}")
exit(1)
if ci_manifest["zap_commit"] != cached_manifest["zap_commit"]:
current_zap = ci_manifest["zap_commit"]
cached_zap = cached_manifest["zap_commit"]
flush_print(f"currnt zap commit {current_zap}")
flush_print(f"cached zap commit {cached_zap}")
if current_zap != cached_zap:
flush_print(f"BAD ZAP VERSION: {fix_instructions}")
flush_print("Cached ZAP output is up to date!")
exit(0)
Expand Down

0 comments on commit 239b61c

Please sign in to comment.