incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962047 - /incubator/deltacloud/trunk/framework/app/models/instance.rb
Date Thu, 08 Jul 2010 23:19:15 GMT
Author: lutter
Date: Thu Jul  8 23:19:15 2010
New Revision: 962047

URL: http://svn.apache.org/viewvc?rev=962047&view=rev
Log:
More intialization

Modified:
    incubator/deltacloud/trunk/framework/app/models/instance.rb

Modified: incubator/deltacloud/trunk/framework/app/models/instance.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/framework/app/models/instance.rb?rev=962047&r1=962046&r2=962047&view=diff
==============================================================================
--- incubator/deltacloud/trunk/framework/app/models/instance.rb (original)
+++ incubator/deltacloud/trunk/framework/app/models/instance.rb Thu Jul  8 23:19:15 2010
@@ -12,5 +12,7 @@ class Instance < BaseModel
  def initialize(init=nil)
    super(init)
    self.actions = [] if self.actions.nil?
+   self.public_addresses = [] if self.public_addresses.nil?
+   self.private_addresses = [] if self.private_addresses.nil?   
   end  
 end



Mime
View raw message