Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparse: do not modify media type when unspecified #233

Merged
merged 4 commits into from
Nov 13, 2023

Commits on Nov 2, 2023

  1. sparse: do not modify media type when unspecified

    The media type should only be modified when the user specifies it. In my case I noticed the digest given by the sparse.Image was not the same as the image it was dervied from. This was because the logic to set the media type defaulted to overriding to OCI if the media type was not specified. This commit changes the logic to only override the media type if the user specifies it.
    
    Signed-off-by: Jesse Brown <jabrown85@gmail.com>
    jabrown85 committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    9394912 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. fixup! sparse: do not modify media type when unspecified

    Signed-off-by: Jesse Brown <jabrown85@gmail.com>
    jabrown85 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    314f7b6 View commit details
    Browse the repository at this point in the history
  2. fixup! sparse: do not modify media type when unspecified

    Signed-off-by: Jesse Brown <jabrown85@gmail.com>
    jabrown85 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    6c66712 View commit details
    Browse the repository at this point in the history
  3. fixup! sparse: do not modify media type when unspecified

    Signed-off-by: Jesse Brown <jabrown85@gmail.com>
    jabrown85 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    e9bbd95 View commit details
    Browse the repository at this point in the history