diff options
Diffstat (limited to 'lib/gitlab/gitaly_client.rb')
-rw-r--r-- | lib/gitlab/gitaly_client.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb index c39b75c7fba..70c89109c61 100644 --- a/lib/gitlab/gitaly_client.rb +++ b/lib/gitlab/gitaly_client.rb @@ -53,10 +53,6 @@ module Gitlab base_labels Gitlab::Metrics::Transaction::BASE_LABELS.merge(gitaly_service: nil, rpc: nil) end - def self.creds - Gitlab.config.gitaly.tls.credentials - end - def self.stub(name, storage) MUTEX.synchronize do @stubs ||= {} @@ -72,7 +68,7 @@ module Gitlab def self.stub_creds(storage) if URI(address(storage)).scheme == 'tls' - GRPC::Code::ChannelCredentials.new + GRPC::Core::ChannelCredentials.new else :this_channel_is_insecure end |