Add missing defer on Tags

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2015-05-14 10:18:21 -07:00
parent 89c396e0f5
commit 6bf4c45e52

View file

@ -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: