diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2018-07-05 10:12:15 +0200 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2018-07-05 10:12:15 +0200 |
commit | 1f320d1c50ed5001d915dbaece670664f242691d (patch) | |
tree | cc0528c5aab5b1405b75900571386675cc4f359b /lib/gitlab | |
parent | d785295fefa89315cdf0a72f572ed162678dcf1c (diff) | |
download | gitlab-ce-1f320d1c50ed5001d915dbaece670664f242691d.tar.gz |
Added tests for MRs
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/background_migration/fix_cross_project_label_links.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/fix_cross_project_label_links.rb b/lib/gitlab/background_migration/fix_cross_project_label_links.rb index f210734c777..8a50b15cfae 100644 --- a/lib/gitlab/background_migration/fix_cross_project_label_links.rb +++ b/lib/gitlab/background_migration/fix_cross_project_label_links.rb @@ -106,7 +106,7 @@ module Gitlab next unless matching_label - LabelLink.find(label.label_link_id).update!(label_id: matching_label.id) + LabelLink.update(label.label_link_id, label_id: matching_label.id) end end |