diff options
author | Adam Edwards <adamed@opscode.com> | 2014-03-29 09:49:59 -0700 |
---|---|---|
committer | Adam Edwards <adamed@opscode.com> | 2014-03-29 09:49:59 -0700 |
commit | 43b3f4c0a48a5f6a5c242bb649f72239197b0097 (patch) | |
tree | 268112dd378aa7234f474e46efee1a97bcfaf12e /lib/chef/resource/powershell_script.rb | |
parent | 7d4f5e04ce9851dce6f97c72ffee8b2cca2b58bc (diff) | |
download | chef-43b3f4c0a48a5f6a5c242bb649f72239197b0097.tar.gz |
CR feedback: fix misleading method name for setting inheritance, validate class inheritance prior to instantiation
Diffstat (limited to 'lib/chef/resource/powershell_script.rb')
-rw-r--r-- | lib/chef/resource/powershell_script.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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") |