deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1210401 - /deltacloud/trunk/server/lib/cimi/model/machine_image.rb
Date Mon, 05 Dec 2011 10:33:05 GMT
Author: mfojtik
Date: Mon Dec  5 10:33:05 2011
New Revision: 1210401

URL: http://svn.apache.org/viewvc?rev=1210401&view=rev
Log:
CIMI: Added created property to MachineImage

Modified:
    deltacloud/trunk/server/lib/cimi/model/machine_image.rb

Modified: deltacloud/trunk/server/lib/cimi/model/machine_image.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/cimi/model/machine_image.rb?rev=1210401&r1=1210400&r2=1210401&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/cimi/model/machine_image.rb (original)
+++ deltacloud/trunk/server/lib/cimi/model/machine_image.rb Mon Dec  5 10:33:05 2011
@@ -38,6 +38,7 @@ class CIMI::Model::MachineImage < CIMI::
       :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



Mime
View raw message