fraunhoferfokus/deckschrubber

Function NewRegistry changed in docker/distribution

bluecatchbird opened this issue ยท 2 comments

Error:

$ docker run -i -t  golang go get github.com/fraunhoferfokus/deckschrubber
# github.com/fraunhoferfokus/deckschrubber
src/github.com/fraunhoferfokus/deckschrubber/main.go:88:30: too many arguments in call to client.NewRegistry
        have ("context".Context, string, nil)
        want (string, http.RoundTripper)
src/github.com/fraunhoferfokus/deckschrubber/main.go:128:36: too many arguments in call to client.NewRepository
        have ("context".Context, reference.Named, string, nil)
        want (reference.Named, string, http.RoundTripper)

Commit with changes in NewRegistry: distribution/distribution@2c58ce1

Perfect! will take care of it

๐Ÿ‘ it works like a charm now!