Commit 7b6b802d authored by Sean Carroll's avatar Sean Carroll

Remove unneeded method

parent d586377a
...@@ -65,12 +65,6 @@ module MergeTrains ...@@ -65,12 +65,6 @@ module MergeTrains
pipeline_absent? || require_recreate? || stale_pipeline? pipeline_absent? || require_recreate? || stale_pipeline?
end end
def cancel_pipeline_if_exist
return unless pipeline_for_merge_train
pipeline_for_merge_train.cancel_running
end
def create_pipeline! def create_pipeline!
result = MergeTrains::CreatePipelineService.new(merge_request.project, merge_user) result = MergeTrains::CreatePipelineService.new(merge_request.project, merge_user)
.execute(merge_request, previous_ref) .execute(merge_request, previous_ref)
......
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