Skip to content

Commit

Permalink
Merge pull request #97 from zakiva/convert_params_to_hashes
Browse files Browse the repository at this point in the history
Container Template: convert params to hashes
  • Loading branch information
Mooli Tayer authored Aug 23, 2017
2 parents 264e7a6 + f2c21af commit c333fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def instantiate(params, project = nil)
:namespace => project
},
:objects => objects,
:parameters => params)
:parameters => params.collect(&:instantiation_attributes))
create_objects(processed_template['objects'], project)
@created_objects.each { |obj| obj[:miq_class] = model_by_entity(obj[:kind].underscore) }
end
Expand Down

0 comments on commit c333fe0

Please sign in to comment.