diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-29 17:26:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 17:26:33 +0100 |
commit | 0b559bacd51cc78235abc89b4767b459cc0e4cfa (patch) | |
tree | 541b255e5044e476605679eb3b613b68b50c0049 /bridge/launchpad | |
parent | 140eae09c2311d2509e42376f1288da331705632 (diff) | |
parent | a90954ae1a1b4d01d9695e45feb979c40ca42c9e (diff) | |
download | git-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.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 } |