deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 3/4] CIMI: Added created property to MachineImage
Date Fri, 02 Dec 2011 13:34:42 GMT
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