forked from openshift/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache: Create an internal "urlWithIntegrity" API, use better filename
Prep for openshift/os#477 Clarify internally that this sha256 is uncompressed; the stream will also have the compressed sha256 which we should support verifying too (as well as the size). Since we're now parsing the URL better, use the uncompressed filename as the target name. This makes it much *much* more obvious to users how to manually clean up old images in the cache. We can do this because for both FCOS/RHCOS the filenames contain versions and are immutable - we will never go back and change an image.
- Loading branch information
Showing
1 changed file
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters