From 9fb5fe4fbbf640fe424abf5d4c1613703288060b Mon Sep 17 00:00:00 2001 From: Richard Scothern Date: Fri, 18 Sep 2015 11:26:34 -0700 Subject: [PATCH] Don't return a nil array and a nil error if the Tags endpoint cannot be found Signed-off-by: Richard Scothern --- docs/client/repository.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/client/repository.go b/docs/client/repository.go index 0fcb17dc..1e189438 100644 --- a/docs/client/repository.go +++ b/docs/client/repository.go @@ -211,8 +211,6 @@ func (ms *manifests) Tags() ([]string, error) { } return tagsResponse.Tags, nil - } else if resp.StatusCode == http.StatusNotFound { - return nil, nil } return nil, handleErrorResponse(resp) }