deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Li <liton...@us.ibm.com>
Subject Re: [PATCH core 3/4] CIMI: Added created property to MachineImage
Date Fri, 02 Dec 2011 18:35:02 GMT
ACK.

Tong Li
Emerging Technologies & Standards
Building 501/B205
litong01@us.ibm.com

mfojtik@redhat.com wrote on 12/02/2011 08:34:42 AM:

> From: mfojtik@redhat.com
> To: dev@deltacloud.apache.org
> Date: 12/02/2011 08:34 AM
> Subject: [PATCH core 3/4] CIMI: Added created property to MachineImage
>
> From: Michal Fojtik <mfojtik@redhat.com>
>
>
> Signed-off-by: Michal fojtik <mfojtik@redhat.com>
> ---
>  server/lib/cimi/model/machine_image.rb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/server/lib/cimi/model/machine_image.rb b/server/lib/
> cimi/model/machine_image.rb
> index e9aedf6..682f05a 100644
> --- a/server/lib/cimi/model/machine_image.rb
> +++ b/server/lib/cimi/model/machine_image.rb
> @@ -38,6 +38,7 @@ class CIMI::Model::MachineImage < CIMI::Model::Base
>        :name => image.id,
>        :uri => context.machine_image_url(image.id),
>        :description => image.description,
> +      :created => Time.now.to_s,
>        :image_location => { :href => "#{context.driver.name}://#
> {image.id}" } # FIXME
>      )
>    end
> --
> 1.7.4.4
>


Mime
View raw message