Commit 5ff6c862 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'kassio/bulkimports-remove-unused-after_run-dsl' into 'master'

BulkImports: Remove unused `after_run` DSL

See merge request gitlab-org/gitlab!52323
parents 5845ddc6 1260553d
......@@ -22,10 +22,6 @@ module BulkImports
@loaders ||= instantiate(self.class.get_loader)
end
def after_run
@after_run ||= self.class.after_run_callback
end
def pipeline
@pipeline ||= self.class.name
end
......@@ -52,10 +48,6 @@ module BulkImports
class_attributes[:loader] = { klass: klass, options: options }
end
def after_run(&block)
class_attributes[:after_run] = block
end
def get_extractor
class_attributes[:extractor]
end
......@@ -68,10 +60,6 @@ module BulkImports
class_attributes[:loader]
end
def after_run_callback
class_attributes[:after_run]
end
def abort_on_failure!
class_attributes[:abort_on_failure] = true
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment