diff --git a/docs/client/repository.go b/docs/client/repository.go index 0bd89b114..4055577da 100644 --- a/docs/client/repository.go +++ b/docs/client/repository.go @@ -99,6 +99,7 @@ func (ms *manifests) Tags() ([]string, error) { if err != nil { return nil, err } + defer resp.Body.Close() switch { case resp.StatusCode == http.StatusOK: