diff options
author | James Lopez <james@jameslopez.es> | 2018-09-24 09:01:03 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-09-24 12:23:47 +0300 |
commit | 6e641789fcfa9d380344a8ae3fdba36605acc050 (patch) | |
tree | 19442a323d89487d7f393baf64f737ea8b6c32f4 /lib/gitlab/import_export/relation_factory.rb | |
parent | 4c8d2232ca3e4b97a313e9ac4d96dee2b3de9e84 (diff) |
Fix null pipeline problem
Diffstat (limited to 'lib/gitlab/import_export/relation_factory.rb')
-rw-r--r-- | lib/gitlab/import_export/relation_factory.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/relation_factory.rb b/lib/gitlab/import_export/relation_factory.rb index 81807ed659c..2486b1e4921 100644 --- a/lib/gitlab/import_export/relation_factory.rb +++ b/lib/gitlab/import_export/relation_factory.rb @@ -86,7 +86,6 @@ module Gitlab case @relation_name when :merge_request_diff_files then setup_diff when :notes then setup_note - when 'Ci::Pipeline' then setup_pipeline end update_user_references @@ -94,6 +93,8 @@ module Gitlab update_group_references remove_duplicate_assignees + setup_pipeline if @relation_name == 'Ci::Pipeline' + reset_tokens! remove_encrypted_attributes! end |