Skip to content

Commit

Permalink
Fixes simulate message passing
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Mar 20, 2017
1 parent 3afab91 commit bcc885d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/application_controller/automate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ def resolve
def build_results
options = {
:vmdb_object => @sb[:obj],
:fqclass => @resolve[:new][:starting_object],
:message => @resolve[:new][:object_message]
:fqclass => @resolve[:new][:starting_object]
}
@resolve[:state_attributes] = {} if params[:button] == 'throw'
automation_attrs = @sb[:attrs].reverse_merge(@resolve[:state_attributes])
automation_attrs["message"] = @resolve[:new][:object_message]
ws = MiqAeEngine.resolve_automation_object(@sb[:name],
User.current_user,
automation_attrs,
Expand Down

0 comments on commit bcc885d

Please sign in to comment.