ack

On 02/01/13 14:23, [email protected] wrote:
> From: Michal Fojtik <[email protected]>
> 
> 
> Signed-off-by: Michal fojtik <[email protected]>
> ---
>  server/lib/cimi/models/machine_template.rb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/lib/cimi/models/machine_template.rb 
> b/server/lib/cimi/models/machine_template.rb
> index 9d6dac4..90ed025 100644
> --- a/server/lib/cimi/models/machine_template.rb
> +++ b/server/lib/cimi/models/machine_template.rb
> @@ -81,7 +81,7 @@ class CIMI::Model::MachineTemplate < CIMI::Model::Base
>          :description => xml['description'].first,
>          :machine_config => xml['machineConfig'].first['href'],
>          :machine_image => xml['machineImage'].first['href'],
> -        :ent_properties => xml['property'].inject({}) { |r, p| 
> r[p['name']]=p['content']; r },
> +        :ent_properties => xml['property'].inject({}) { |r, p| 
> r[p['key']]=p['content']; r },
>          :be_kind => 'machine_template',
>          :be_id => ''
>        )
> 

Reply via email to