Add missing defer on Tags

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
pull/387/head
Derek McGowan 2015-05-14 10:18:21 -07:00
parent 468c5e79ba
commit fddeb1c8d5
1 changed files with 1 additions and 0 deletions

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: