Skip to content

Commit

Permalink
Make the checksums optional all the way up the stack (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-persson authored Oct 22, 2024
1 parent 75561b4 commit 60b5e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/etos_client/downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def download_report(self, report: Report):
Downloadable(
url=report.file.get("url"),
name=report.file.get("name"),
checksums=report.file.get("checksums"),
checksums=report.file.get("checksums", {}),
path=reports,
)
)
Expand All @@ -279,7 +279,7 @@ def download_artifact(self, artifact: Artifact):
Downloadable(
url=artifact.file.get("url"),
name=artifact.file.get("name"),
checksums=artifact.file.get("checksums"),
checksums=artifact.file.get("checksums", {}),
path=artifacts,
)
)
Expand Down

0 comments on commit 60b5e31

Please sign in to comment.