summaryrefslogtreecommitdiff
path: root/app/workers/gitlab/github_import/import_release_attachments_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/gitlab/github_import/import_release_attachments_worker.rb')
-rw-r--r--app/workers/gitlab/github_import/import_release_attachments_worker.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/workers/gitlab/github_import/import_release_attachments_worker.rb b/app/workers/gitlab/github_import/import_release_attachments_worker.rb
index c6f45ec1d7c..bf901f2f7b8 100644
--- a/app/workers/gitlab/github_import/import_release_attachments_worker.rb
+++ b/app/workers/gitlab/github_import/import_release_attachments_worker.rb
@@ -1,16 +1,18 @@
# frozen_string_literal: true
+# TODO: remove in 16.X milestone
+# https://gitlab.com/gitlab-org/gitlab/-/issues/377059
module Gitlab
module GithubImport
class ImportReleaseAttachmentsWorker # rubocop:disable Scalability/IdempotentWorker
include ObjectImporter
def representation_class
- Representation::ReleaseAttachments
+ Representation::NoteText
end
def importer_class
- Importer::ReleaseAttachmentsImporter
+ Importer::NoteAttachmentsImporter
end
def object_type