summaryrefslogtreecommitdiff
path: root/lib/gitlab_access.rb
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2016-06-29 13:58:20 -0400
committerAlejandro Rodríguez <alejorro70@gmail.com>2016-06-29 13:58:20 -0400
commit18b4d39ac7172cb02cec63e7bf1cc21807a9b3f0 (patch)
tree810dd76a8b3bea1048e5951cefd4d1eeee5aaefd /lib/gitlab_access.rb
parent5a6d71d143a6ea5f9747b25304aafa902ed381d0 (diff)
downloadgitlab-shell-shards.tar.gz
Refactor repository paths handling to allow multiple git mount pointsshards
Diffstat (limited to 'lib/gitlab_access.rb')
-rw-r--r--lib/gitlab_access.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb
index 5816969..10afeef 100644
--- a/lib/gitlab_access.rb
+++ b/lib/gitlab_access.rb
@@ -15,7 +15,7 @@ class GitlabAccess
@config = GitlabConfig.new
@repo_path = repo_path.strip
@actor = actor
- @repo_name = extract_repo_name(@repo_path.dup, config.repos_path.to_s)
+ @repo_name = extract_repo_name(@repo_path.dup)
@changes = changes.lines
end