You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2011/01/24 23:21:07 UTC

svn commit: r1063027 - /incubator/deltacloud/trunk/server/lib/deltacloud/hardware_profile.rb

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?