diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-08-31 18:00:40 -0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2017-09-05 20:12:18 -0300 |
commit | 8323e55b6c0d59627c584b49e70d4f6ccfd3c8f0 (patch) | |
tree | 7469c1bedb6b2023cb93e67ecb2cbf3c430b1c3c /lib/api/internal.rb | |
parent | 063e285e6a8c26a95809873fb32fefc54fe9bdb6 (diff) | |
download | gitlab-ce-8323e55b6c0d59627c584b49e70d4f6ccfd3c8f0.tar.gz |
Return a value to check if redis is available on /internal/check
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 622bd9650e4..85b66593175 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -88,7 +88,8 @@ module API { api_version: API.version, gitlab_version: Gitlab::VERSION, - gitlab_rev: Gitlab::REVISION + gitlab_rev: Gitlab::REVISION, + redis: redis_ping } end |