diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-29 15:04:48 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-29 15:04:48 +0100 |
commit | fe38af05a84abc15243bacf55a63f6f9aae37a33 (patch) | |
tree | 6a8d7b4db7eb7c9a1409ebc6bbec9c24a5faa411 /bridge/launchpad | |
parent | 68acfa519ab6656648d1e976db2a4190bbeb5f44 (diff) | |
download | git-bug-fe38af05a84abc15243bacf55a63f6f9aae37a33.tar.gz |
github: correct casing for user provided 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 } |