aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/launchpad
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-02-29 17:26:33 +0100
committerGitHub <noreply@github.com>2020-02-29 17:26:33 +0100
commit0b559bacd51cc78235abc89b4767b459cc0e4cfa (patch)
tree541b255e5044e476605679eb3b613b68b50c0049 /bridge/launchpad
parent140eae09c2311d2509e42376f1288da331705632 (diff)
parenta90954ae1a1b4d01d9695e45feb979c40ca42c9e (diff)
downloadgit-bug-0b559bacd51cc78235abc89b4767b459cc0e4cfa.tar.gz
Merge pull request #344 from MichaelMure/github-lowercase-login
github: fix matching cred/identity with badly cased 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
}