forked from TrueCloudLab/distribution
Add missing defer on Tags
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
468c5e79ba
commit
fddeb1c8d5
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