From 43b3f4c0a48a5f6a5c242bb649f72239197b0097 Mon Sep 17 00:00:00 2001 From: Adam Edwards Date: Sat, 29 Mar 2014 09:49:59 -0700 Subject: CR feedback: fix misleading method name for setting inheritance, validate class inheritance prior to instantiation --- lib/chef/resource/powershell_script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource/powershell_script.rb') diff --git a/lib/chef/resource/powershell_script.rb b/lib/chef/resource/powershell_script.rb index f053d0b2aa..1b47e7411a 100644 --- a/lib/chef/resource/powershell_script.rb +++ b/lib/chef/resource/powershell_script.rb @@ -21,7 +21,7 @@ class Chef class Resource class PowershellScript < Chef::Resource::WindowsScript - add_guard_inherited_attributes(:architecture) + set_guard_inherited_attributes(:architecture) def initialize(name, run_context=nil) super(name, run_context, :powershell_script, "powershell.exe") -- cgit v1.2.1