summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_pull_request_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/gitlab/github_import/import_pull_request_worker.rb')
-rw-r--r--app/workers/gitlab/github_import/import_pull_request_worker.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/workers/gitlab/github_import/import_pull_request_worker.rb b/app/workers/gitlab/github_import/import_pull_request_worker.rb
index 9560874f247..79938a157d7 100644
--- a/app/workers/gitlab/github_import/import_pull_request_worker.rb
+++ b/app/workers/gitlab/github_import/import_pull_request_worker.rb
@@ -13,12 +13,8 @@ module Gitlab
Importer::PullRequestImporter
end
- def counter_name
- :github_importer_imported_pull_requests
- end
-
- def counter_description
- 'The number of imported GitHub pull requests'
+ def object_type
+ :pull_request
end
end
end