diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-03-27 11:43:35 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-04-03 15:50:22 -0300 |
commit | 20486593bd0a3b0b150cb4b62edcb5eb7793297e (patch) | |
tree | 75255eebb75612441910e82fdea77d904d04a342 /lib/gitlab/github_import | |
parent | 336ba94a7bbdd52f07d0f1c7f7bced20c37ad307 (diff) | |
download | gitlab-ce-20486593bd0a3b0b150cb4b62edcb5eb7793297e.tar.gz |
Skip MR metrics when importing projects from GitHub
Diffstat (limited to 'lib/gitlab/github_import')
-rw-r--r-- | lib/gitlab/github_import/pull_request_formatter.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/pull_request_formatter.rb b/lib/gitlab/github_import/pull_request_formatter.rb index 38660a7ccca..b347e0b0feb 100644 --- a/lib/gitlab/github_import/pull_request_formatter.rb +++ b/lib/gitlab/github_import/pull_request_formatter.rb @@ -20,7 +20,8 @@ module Gitlab author_id: author_id, assignee_id: assignee_id, created_at: raw_data.created_at, - updated_at: raw_data.updated_at + updated_at: raw_data.updated_at, + skip_metrics: true } end |