diff options
author | Stan Hu <stanhu@gmail.com> | 2018-06-28 13:48:25 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-06-28 13:48:25 -0700 |
commit | ee5f8f2830f7bdfcbd36b2368dd15b109bf29c69 (patch) | |
tree | 3830271963a15a5dc36530e13b434f3d52f16c16 /lib/gitlab/bitbucket_server_import | |
parent | 5817c67014576fab899fac3d8478f3620af4dda2 (diff) | |
download | gitlab-ce-ee5f8f2830f7bdfcbd36b2368dd15b109bf29c69.tar.gz |
Fix generation of diff line positions
Diffstat (limited to 'lib/gitlab/bitbucket_server_import')
-rw-r--r-- | lib/gitlab/bitbucket_server_import/importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/bitbucket_server_import/importer.rb b/lib/gitlab/bitbucket_server_import/importer.rb index 33bd1aeb127..f035cc58acf 100644 --- a/lib/gitlab/bitbucket_server_import/importer.rb +++ b/lib/gitlab/bitbucket_server_import/importer.rb @@ -143,7 +143,7 @@ module Gitlab attributes = pull_request_comment_attributes(reply) attributes.merge!( position: build_position(merge_request, comment), - line_code: line_code_map.fetch(reply.id) + line_code: line_code_map.fetch(reply.id), discussion_id: parent.discussion_id, type: 'DiffNote') merge_request.notes.create!(attributes) |