From a9402708b2668be9cc4ef5fac65f5116648f042b Mon Sep 17 00:00:00 2001 From: James Lopez Date: Mon, 16 Jan 2017 10:40:29 +0100 Subject: fix nil path error --- db/migrate/20161226122833_remove_dot_git_from_usernames.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'db') 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 -- cgit v1.2.3