You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2011/12/02 14:34:42 UTC

[PATCH core 3/4] CIMI: Added created property to MachineImage

From: Michal Fojtik <mf...@redhat.com>


Signed-off-by: Michal fojtik <mf...@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


Re: [PATCH core 3/4] CIMI: Added created property to MachineImage

Posted by Tong Li <li...@us.ibm.com>.
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 <mf...@redhat.com>
>
>
> Signed-off-by: Michal fojtik <mf...@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
>