Skip to content

Commit

Permalink
fix error of not downloading a squashfs when it should
Browse files Browse the repository at this point in the history
  • Loading branch information
bcumming committed Mar 26, 2024
1 parent 414b728 commit 82e5ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uenv-image
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ if __name__ == "__main__":
image_path = cache.image_path(t)

# if the record isn't already in the filesystem repo download it
if not cache.database.get_record(t.sha256):
if cache.database.get_record(t.sha256).is_empty:
terminal.stdout(f"downloading image {t.sha256} {image_size_string(t.size)}")
# download the image using oras
oras.run_command(["pull", "-o", image_path, source_address])
Expand Down

0 comments on commit 82e5ce1

Please sign in to comment.