diff options
Diffstat (limited to 'bridge/launchpad/config.go')
-rw-r--r-- | bridge/launchpad/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/launchpad/config.go b/bridge/launchpad/config.go index 0bf8dc0d..e2eb86da 100644 --- a/bridge/launchpad/config.go +++ b/bridge/launchpad/config.go @@ -85,6 +85,8 @@ func validateProject(project string) (bool, error) { return false, err } + _ = resp.Body.Close() + return resp.StatusCode == http.StatusOK, nil } |