From d10389334508eeeb0703fe06e30ba8775fb97e6c Mon Sep 17 00:00:00 2001 From: Austin Bozowski Date: Thu, 26 May 2022 08:06:27 +0000 Subject: [PATCH] TODO and err msg --- examples/chef/chef.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/chef/chef.py b/examples/chef/chef.py index 773af840da5c9f..b2751b15b2e2b9 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -199,12 +199,13 @@ def main(argv: Sequence[str]) -> None: cached_manifest = json.loads(ci_manifest_file.read()) for device in ci_manifest: if device != "zap_commit": + # TODO write the hash into folders and validate folders try: if cached_manifest[device] != ci_manifest[device]: print("Cached files out of date. Please run chef with the flag --generate_zzz and commit") exit(1) except KeyError: - print("Cached files out of date. Please run chef with the flag --generate_zzz and commit") + print("Cached files out of date. Please run chef with the flag --generate_zzz and commit /examples/chef/zzz_generated and /examples/chef/cimanifes.json") exit(1) if device == "zap_commit" and False: # Disabled for now, ci_manifest above created without include_zap_submod, fails in CI env.