I was trying to use this in my project, but after importing it into my code, the build broke with the error message in the title.
After some investigation it turned out that the root cause is that dep picked the wrong version of the "github.com/docker/distribution" dependency. It picked the version with the v2.6.2 tag, most probably because this is the tag with the highest semantic version number. A working revision of the distribution package is pinned in Godeps/Godeps.json, but dep doesn't seem to respect that.
Adding a proper Gopkg.toml file to this project could solve the problem.
I was trying to use this in my project, but after importing it into my code, the build broke with the error message in the title. After some investigation it turned out that the root cause is that dep picked the wrong version of the "github.com/docker/distribution" dependency. It picked the version with the v2.6.2 tag, most probably because this is the tag with the highest semantic version number. A working revision of the distribution package is pinned in Godeps/Godeps.json, but dep doesn't seem to respect that.
Adding a proper Gopkg.toml file to this project could solve the problem.