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

Review nits from #257 #270

Merged
merged 2 commits into from
Jul 7, 2022
Merged

Review nits from #257 #270

merged 2 commits into from
Jul 7, 2022

Conversation

puerco
Copy link
Contributor

@puerco puerco commented Jul 7, 2022

This PR fixes two nits leftover from the review of #257

  • Removes a comment to reenable the clean-up of the tmpdir in apko publish
  • Avoids returning a partially formed index when an error happens in oci.publishTagFromIndex()

Signed-off-by: Adolfo García Veytia (Puerco) [email protected]

This commit reenables cleaning up the temp directory.

Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
This commit modifies the return values in publishIndexWithMediaType
to return nil instead of a partially built index when an error happens.

Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
@kaniini kaniini merged commit adeb59d into chainguard-dev:main Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants