diff options
author | James Lopez <james@jameslopez.es> | 2017-01-16 12:40:29 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-16 12:40:29 +0300 |
commit | a9402708b2668be9cc4ef5fac65f5116648f042b (patch) | |
tree | ac6a4c22ef40f6867b45b0f4730d0582b5ba9312 | |
parent | 7d03a55c98dfdc6b27df903b056427089aa0dc95 (diff) |
fix nil path error
-rw-r--r-- | db/migrate/20161226122833_remove_dot_git_from_usernames.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb index 82ad7fd1b35..edf9914308c 100644 --- a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb +++ b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb @@ -79,6 +79,8 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration Gitlab.config.repositories.storages[row['repository_storage']] end.compact + path = nil + # Move the namespace directory in all storages paths used by member projects repository_storage_paths.each do |repository_storage_path| # Ensure old directory exists before moving it |