summaryrefslogtreecommitdiff
path: root/db/migrate/20161220141214_remove_dot_git_from_group_names.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20161220141214_remove_dot_git_from_group_names.rb')
-rw-r--r--db/migrate/20161220141214_remove_dot_git_from_group_names.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20161220141214_remove_dot_git_from_group_names.rb b/db/migrate/20161220141214_remove_dot_git_from_group_names.rb
index 241afc6b097..8fb1f9d5e73 100644
--- a/db/migrate/20161220141214_remove_dot_git_from_group_names.rb
+++ b/db/migrate/20161220141214_remove_dot_git_from_group_names.rb
@@ -60,7 +60,7 @@ class RemoveDotGitFromGroupNames < ActiveRecord::Migration
def move_namespace(group_id, path_was, path)
repository_storage_paths = select_all("SELECT distinct(repository_storage) FROM projects WHERE namespace_id = #{group_id}").map do |row|
- Gitlab.config.repositories.storages[row['repository_storage']]
+ Gitlab.config.repositories.storages[row['repository_storage']]['path']
end.compact
# Move the namespace directory in all storages paths used by member projects