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

(estesp): until we have a more complete method for index push, we need to report #369

Open
piascikj opened this issue Dec 5, 2017 · 0 comments
Labels

Comments

@piascikj
Copy link
Member

piascikj commented Dec 5, 2017

missing dependencies in an index/manifest list by sensing the "400 Bad Request"
as a marker for this problem

opened via imdone.io from a code comment on 18a53d0374 by Michael Crosby

TODO (estesp): until we have a more complete method for index push, we need to report id:368


// TODO(estesp): until we have a more complete method for index push, we need to report
// missing dependencies in an index/manifest list by sensing the "400 Bad Request"
// as a marker for this problem
if (manifestStack[i].MediaType == ocispec.MediaTypeImageIndex ||
manifestStack[i].MediaType == images.MediaTypeDockerSchema2ManifestList) &&
errors.Cause(err) != nil && strings.Contains(errors.Cause(err).Error(), "400 Bad Request") {
return errors.Wrap(err, "manifest list/index references to blobs and/or manifests are missing in your target registry")
}

@piascikj piascikj added the TODO label Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant