Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2018-12-21 18:51:30 +0300
committerJacob Vosmaer <jacob@gitlab.com>2018-12-21 18:51:30 +0300
commit13a97f2f46be7ae7b30eb30fa76379e9a0347dc6 (patch)
tree39addee92199d8fcceaddbad5ffad4814d463dc6
parentdedf2ad04b26eeef57b80fe2be4a8d7f13514d50 (diff)
Make visible in log when gitaly hooks are usedjv-vendor-gitlab-shell
-rw-r--r--ruby/gitlab-shell/lib/http_helper.rb2
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