Don't return a nil array and a nil error if the Tags endpoint cannot be found

Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
This commit is contained in:
Richard Scothern 2015-09-18 11:26:34 -07:00
parent 924913b4c3
commit f36ab5a834

View file

@ -211,8 +211,6 @@ func (ms *manifests) Tags() ([]string, error) {
} }
return tagsResponse.Tags, nil return tagsResponse.Tags, nil
} else if resp.StatusCode == http.StatusNotFound {
return nil, nil
} }
return nil, handleErrorResponse(resp) return nil, handleErrorResponse(resp)
} }