summaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorMałgorzata Ksionek <mksionek@gitlab.com>2019-10-03 11:47:42 +0200
committerMałgorzata Ksionek <mksionek@gitlab.com>2019-10-03 11:47:42 +0200
commit4190843952861b9db7cc786a140be3aeb7632cbc (patch)
tree6646291d45c3856067f1e6da91bb63e1f51e9da3 /go
parent93859205377ffbfb4e3d1ee035d213d0ee81bc7d (diff)
downloadgitlab-shell-4190843952861b9db7cc786a140be3aeb7632cbc.tar.gz
Diffstat (limited to 'go')
-rw-r--r--go/internal/gitlabnet/client.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/go/internal/gitlabnet/client.go b/go/internal/gitlabnet/client.go
index 6b253e0..dacb1d6 100644
--- a/go/internal/gitlabnet/client.go
+++ b/go/internal/gitlabnet/client.go
@@ -109,7 +109,6 @@ func (c *GitlabClient) DoRequest(method, path string, data interface{}) (*http.R
request.Header.Set(secretHeaderName, encodedSecret)
request.Header.Add("Content-Type", "application/json")
-
request.Close = true
response, err := c.httpClient.Do(request)