Skip to content

Commit

Permalink
Don't create tasks ad infinitum for bundled services
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Dec 18, 2018
1 parent f180152 commit 316f6e8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/service_retire_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def create_retire_subtasks(parent_service, parent_task)
nh['options'][:dialog] = {}
new_task = create_task(svc_rsc, parent_service, nh, parent_task)
create_retire_subtasks(svc_rsc.resource, new_task) if svc_rsc.resource.kind_of?(Service)
new_task.after_request_task_create
miq_request.miq_request_tasks << new_task
new_task.tap(&:deliver_to_automate)
end.compact!
Expand Down

0 comments on commit 316f6e8

Please sign in to comment.