Commit 6a07a243 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Combine delegations in one line

parent 7ecc7f6a
...@@ -1156,8 +1156,7 @@ class Repository ...@@ -1156,8 +1156,7 @@ class Repository
@project.repository_storage_path @project.repository_storage_path
end end
delegate :gitaly_repository, to: :raw_repository delegate :gitaly_channel, :gitaly_repository, to: :raw_repository
delegate :gitaly_channel, to: :raw_repository
def initialize_raw_repository def initialize_raw_repository
Gitlab::Git::Repository.new(project.repository_storage, path_with_namespace + '.git') Gitlab::Git::Repository.new(project.repository_storage, path_with_namespace + '.git')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment