Commit a9402708 authored by James Lopez's avatar James Lopez

fix nil path error

parent 7d03a55c
...@@ -79,6 +79,8 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration ...@@ -79,6 +79,8 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration
Gitlab.config.repositories.storages[row['repository_storage']] Gitlab.config.repositories.storages[row['repository_storage']]
end.compact end.compact
path = nil
# Move the namespace directory in all storages paths used by member projects # Move the namespace directory in all storages paths used by member projects
repository_storage_paths.each do |repository_storage_path| repository_storage_paths.each do |repository_storage_path|
# Ensure old directory exists before moving it # Ensure old directory exists before moving it
......
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