Skip to content

Commit

Permalink
Switching back to docker distribution digest
Browse files Browse the repository at this point in the history
  • Loading branch information
silenteh committed Nov 21, 2018
1 parent df7bb4e commit 7fa6e72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import:
subpackages:
- manifest/schema1
- manifest/schema2
- package: github.com/opencontainers/go-digest
version: ~1.0.0-rc1
- digest
- package: github.com/sirupsen/logrus
version: master
subpackages:
Expand Down
3 changes: 2 additions & 1 deletion registry/layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import (
"net/url"

"github.com/docker/distribution"
digest "github.com/opencontainers/go-digest"
"github.com/docker/distribution/digest"
// digest "github.com/opencontainers/go-digest"
)

func (registry *Registry) DownloadLayer(repository string, digest digest.Digest) (io.ReadCloser, error) {
Expand Down

0 comments on commit 7fa6e72

Please sign in to comment.