diff options
author | Ash McKenzie <ash@the-rebellion.net> | 2018-07-19 14:43:09 +1000 |
---|---|---|
committer | Ash McKenzie <ash@the-rebellion.net> | 2018-07-20 22:28:58 +1000 |
commit | 0ddb3c767af79194c13d97e3fa50a90098bc155c (patch) | |
tree | 50c01e7efe0e8a3b6aaaf1586751ad2253a51811 /lib/gitlab_net.rb | |
parent | e865251ef5d49927146d24c0e913e2391ff5c399 (diff) | |
download | gitlab-shell-0ddb3c767af79194c13d97e3fa50a90098bc155c.tar.gz |
Support HTTP headers and sending JSON
Diffstat (limited to 'lib/gitlab_net.rb')
-rw-r--r-- | lib/gitlab_net.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_net.rb b/lib/gitlab_net.rb index bf417a4..584dd93 100644 --- a/lib/gitlab_net.rb +++ b/lib/gitlab_net.rb @@ -91,7 +91,7 @@ class GitlabNet # rubocop:disable Metrics/ClassLength end def check - get("#{internal_api_endpoint}/check", read_timeout: CHECK_TIMEOUT) + get("#{internal_api_endpoint}/check", options: { read_timeout: CHECK_TIMEOUT }) end def authorized_key(key) |