diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-06-20 17:31:49 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-06-20 17:31:49 +0200 |
commit | 4f8af50b619dd87c16035f56dce5cbde3531aef1 (patch) | |
tree | 0383d60713c8cf0ff73d341a3b089340d25924e5 /lib | |
parent | 7bda1030a59b0723eade42b03f72918a75c20e9d (diff) | |
download | gitlab-ce-4f8af50b619dd87c16035f56dce5cbde3531aef1.tar.gz |
Rubocop and comment fixes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitaly_client.rb | 4 | ||||
-rw-r--r-- | lib/gitlab/workhorse.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb index e30bcd7ae3a..f605c06dfc3 100644 --- a/lib/gitlab/gitaly_client.rb +++ b/lib/gitlab/gitaly_client.rb @@ -50,8 +50,8 @@ module Gitlab address end - # All RPC calls should use GitalyClient.call. This method makes sure - # that per-request authentication headers are set. + # All Gitaly RPC call sites should use GitalyClient.call. This method + # makes sure that per-request authentication headers are set. def self.call(storage, service, rpc, request) metadata = request_metadata(storage) metadata = yield(metadata) if block_given? diff --git a/lib/gitlab/workhorse.rb b/lib/gitlab/workhorse.rb index 43305f63911..f96ee69096d 100644 --- a/lib/gitlab/workhorse.rb +++ b/lib/gitlab/workhorse.rb @@ -28,7 +28,7 @@ module Gitlab if Gitlab.config.gitaly.enabled server = { address: Gitlab::GitalyClient.address(project.repository_storage), - token: Gitlab::GitalyClient.token(project.repository_storage), + token: Gitlab::GitalyClient.token(project.repository_storage) } params[:Repository] = repository.gitaly_repository.to_h |