Print error for failed HTTP auth request.
Signed-off-by: Kenny Leung <kleung@google.com>
This commit is contained in:
parent
13b56c9d20
commit
b89c4e8cbf
4 changed files with 19 additions and 14 deletions
|
@ -33,7 +33,7 @@ func (hbu *httpBlobUpload) handleErrorResponse(resp *http.Response) error {
|
|||
if resp.StatusCode == http.StatusNotFound {
|
||||
return distribution.ErrBlobUploadUnknown
|
||||
}
|
||||
return handleErrorResponse(resp)
|
||||
return HandleErrorResponse(resp)
|
||||
}
|
||||
|
||||
func (hbu *httpBlobUpload) ReadFrom(r io.Reader) (n int64, err error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue