heroku / docker-registry-client

A Go API client for the v2 Docker Registry API
BSD 3-Clause "New" or "Revised" License
297 stars 225 forks source link

Can not update manifest #37

Closed pasali closed 7 years ago

pasali commented 7 years ago

I am trying to tag a existing image with below code sample.

manifest1, _ := hub.Manifest("foo/bar", "latest")
manifest1.Tag = "xxx"
err := hub.PutManifest("foo/bar", "latest", manifest1)

But i am getting http: ContentLength=21914 with Body length 0 error.

fanux commented 3 years ago

How to fixed this issue?