Skip to content

Commit

Permalink
successive runs shouldn't change the original params
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Aug 15, 2019
1 parent c54da5f commit 8480ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def action_check_compliance(obj, _at)
end

def action_automation_request(_klass, _at)
parameters = filter[:parameters]
parameters = filter[:parameters].dup
user = User.find_by_userid(userid)
AutomationRequest.create_from_scheduled_task(user, filter[:uri_parts], parameters)
end
Expand Down

0 comments on commit 8480ad1

Please sign in to comment.