mirror of
https://github.com/distribution/distribution.git
synced 2025-09-01 06:57:45 +00:00
Add missing defer on Tags
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user