Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-07-05 11:12:15 +0300
committerJan Provaznik <jprovaznik@gitlab.com>2018-07-05 11:12:15 +0300
commit1f320d1c50ed5001d915dbaece670664f242691d (patch)
treecc0528c5aab5b1405b75900571386675cc4f359b /lib/gitlab/background_migration
parentd785295fefa89315cdf0a72f572ed162678dcf1c (diff)
Added tests for MRs
Diffstat (limited to 'lib/gitlab/background_migration')
-rw-r--r--lib/gitlab/background_migration/fix_cross_project_label_links.rb2
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