gitlab-org--gitlab-foss/lib/gitlab/gitaly_client/util.rb
Alejandro Rodríguez 58821ebbb4 Stop using deprecated path field on Gitaly messages
This revealed an error in our configuration generation in
gitlab:gitaly:install rake task. The fix is included
2017-06-14 19:33:43 -04:00

14 lines
303 B
Ruby

module Gitlab
module GitalyClient
module Util
class << self
def repository(repository_storage, relative_path)
Gitaly::Repository.new(
storage_name: repository_storage,
relative_path: relative_path
)
end
end
end
end
end