diff options
Diffstat (limited to 'lib/chef/resource/registry_key.rb')
-rw-r--r-- | lib/chef/resource/registry_key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/registry_key.rb b/lib/chef/resource/registry_key.rb index da09b9668b..549897bb1d 100644 --- a/lib/chef/resource/registry_key.rb +++ b/lib/chef/resource/registry_key.rb @@ -96,7 +96,7 @@ class Chef end end @unscrubbed_values = @values - elsif self.instance_variable_defined?(:@values) + elsif instance_variable_defined?(:@values) scrub_values(@values) end end |