ACK

On 12/11/12 13:34, [email protected] wrote:
> From: Michal Fojtik <[email protected]>
> 
> 
> Signed-off-by: Michal fojtik <[email protected]>
> ---
>  server/lib/cimi/models/machine.rb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/lib/cimi/models/machine.rb 
> b/server/lib/cimi/models/machine.rb
> index c6865b6..92c706b 100644
> --- a/server/lib/cimi/models/machine.rb
> +++ b/server/lib/cimi/models/machine.rb
> @@ -123,8 +123,8 @@ class CIMI::Model::Machine < CIMI::Model::Base
>      cpu =  memory = (instance.instance_profile.id == "opaque")? "n/a" : nil
>      machine_conf = 
> CIMI::Model::MachineConfiguration.find(instance.instance_profile.name, 
> context)
>      machine_spec = {
> -      :name => instance.id,
> -      :description => instance.name,
> +      :name => instance.name,
> +      :description => "Instance #{instance.name}",
>        :created => instance.launch_time.nil? ? Time.now.xmlschema : 
> Time.parse(instance.launch_time).xmlschema,
>        :id => context.machine_url(instance.id),
>        :state => convert_instance_state(instance.state),
> 

Reply via email to