Respond with 401 when there is an unauthorized error from the registry.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera 2016-01-26 13:30:58 -05:00
parent bd4e6b2de9
commit 377f556464
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,6 @@ var (
// ErrAlreadyExists is an error returned if an image being pushed
// already exists on the remote side
ErrAlreadyExists = errors.New("Image already exists")
errLoginRequired = errors.New("Authentication is required.")
)
func init() {