diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2018-12-21 18:51:30 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2018-12-21 18:51:30 +0300 |
commit | 13a97f2f46be7ae7b30eb30fa76379e9a0347dc6 (patch) | |
tree | 39addee92199d8fcceaddbad5ffad4814d463dc6 | |
parent | dedf2ad04b26eeef57b80fe2be4a8d7f13514d50 (diff) |
Make visible in log when gitaly hooks are usedjv-vendor-gitlab-shell
-rw-r--r-- | ruby/gitlab-shell/lib/http_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/gitlab-shell/lib/http_helper.rb b/ruby/gitlab-shell/lib/http_helper.rb index c66df5384..e2a642ea1 100644 --- a/ruby/gitlab-shell/lib/http_helper.rb +++ b/ruby/gitlab-shell/lib/http_helper.rb @@ -78,7 +78,7 @@ module HTTPHelper $logger.warn('Failed to connect', method: method.to_s.upcase, url: url, error: e) raise GitlabNet::ApiUnreachableError ensure - $logger.info('finished HTTP request', method: method.to_s.upcase, url: url, duration: Time.new - start_time) + $logger.info('finished HTTP request', method: method.to_s.upcase, url: url, duration: Time.new - start_time, gitaly: true) end case response |