aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/launchpad
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-29 15:04:48 +0100
committerMichael Muré <batolettre@gmail.com>2020-02-29 15:04:48 +0100
commitfe38af05a84abc15243bacf55a63f6f9aae37a33 (patch)
tree6a8d7b4db7eb7c9a1409ebc6bbec9c24a5faa411 /bridge/launchpad
parent68acfa519ab6656648d1e976db2a4190bbeb5f44 (diff)
downloadgit-bug-fe38af05a84abc15243bacf55a63f6f9aae37a33.tar.gz
github: correct casing for user provided login
Diffstat (limited to 'bridge/launchpad')
-rw-r--r--bridge/launchpad/config.go2
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
}