Add missing defer on Tags
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
89c396e0f5
commit
6bf4c45e52
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue