diff options
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r-- | lib/chef/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index 5153dd4910..9cdf28dd9a 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -498,7 +498,7 @@ class Chef state = {} state_properties = self.class.state_properties state_properties.each do |property| - if property.identity? || property.is_set?(self) + if property.is_set?(self) state[property.name] = property.sensitive? ? "*sensitive value suppressed*" : send(property.name) end end |