Skip to content

Commit

Permalink
Er, this shouldn't be hard coded...
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Oct 25, 2018
1 parent f29db30 commit 567b40d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/miq_retire_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def deliver_to_automate(req_type = request_type, zone = nil)
:object_id => id,
:attrs => {"request" => req_type},
:instance_name => "AUTOMATION",
:user_id => 1,
:miq_group_id => 2,
:tenant_id => 1,
:user_id => miq_request.requester.id,
:miq_group_id => miq_request.requester.current_group.id,
:tenant_id => miq_request.requester.current_group.tenant_id,
}

MiqAeEngine::set_automation_attributes_from_objects(source, args[:attrs])
Expand Down

0 comments on commit 567b40d

Please sign in to comment.