Skip to content

Commit

Permalink
check download digest of rhel oval files
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
wagoodman committed Jan 23, 2024
1 parent be34f42 commit 2ea7720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vunnel/providers/rhel/oval_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _download_oval_file(self, base_url: str, oval_url_path: str, path_to_sha: di

if previous_sha256 and latest_sha256:
self.logger.debug(f"{oval_url_path}: previous sha256: {previous_sha256}, latest sha256: {latest_sha256}")
download = latest_sha256.lower() != latest_sha256.lower()
download = previous_sha256.lower() != latest_sha256.lower()

if download:
try:
Expand Down

0 comments on commit 2ea7720

Please sign in to comment.