incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r1063027 - /incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb
Date Mon, 24 Jan 2011 22:21:07 GMT
Author: lutter
Date: Mon Jan 24 22:21:07 2011
New Revision: 1063027

URL: http://svn.apache.org/viewvc?rev=1063027&view=rev
Log:
* lib/deltacloud/hardware_profile.rb (param): return a symbol

All other parameter names internally are symbols; make sure HWP's obey this
convention.

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb?rev=1063027&r1=1063026&r2=1063027&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb Mon Jan 24 22:21:07
2011
@@ -63,7 +63,7 @@ module Deltacloud
       end
 
       def param
-        "hwp_#{name}"
+        :"hwp_#{name}"
       end
 
       def fixed?



Mime
View raw message