diff options
author | Robert Speicher <robert@gitlab.com> | 2016-05-27 20:35:28 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-06-02 14:26:44 +0300 |
commit | 322464ea927405af13ec91625f332a55de599a9e (patch) | |
tree | b29c110e43493b8f98d211d5fc0f612a8e65cc1e /db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb | |
parent | 0591d06b006e2a4f0b14e60c8a3c32e05c2cb826 (diff) |
Merge branch 'fix/migration-uri-issue' into 'master'
Fix import URL migration error
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/17956
See merge request !4321
Diffstat (limited to 'db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb')
-rw-r--r-- | db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb b/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb index 561c18a5776..6aed0fe03d2 100644 --- a/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb +++ b/db/migrate/20160302152808_remove_wrong_import_url_from_projects.rb @@ -28,7 +28,7 @@ class RemoveWrongImportUrlFromProjects < ActiveRecord::Migration update_import_url(import_url, project) update_import_data(import_url, project) - rescue URI::InvalidURIError + rescue Addressable::URI::InvalidURIError nullify_import_url(project) end end |