Combine delegations in one line
This commit is contained in:
parent
7ecc7f6a56
commit
6a07a2430b
1 changed files with 1 additions and 2 deletions
|
@ -1156,8 +1156,7 @@ class Repository
|
|||
@project.repository_storage_path
|
||||
end
|
||||
|
||||
delegate :gitaly_repository, to: :raw_repository
|
||||
delegate :gitaly_channel, to: :raw_repository
|
||||
delegate :gitaly_channel, :gitaly_repository, to: :raw_repository
|
||||
|
||||
def initialize_raw_repository
|
||||
Gitlab::Git::Repository.new(project.repository_storage, path_with_namespace + '.git')
|
||||
|
|
Loading…
Reference in a new issue