diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-30 12:29:20 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-01 11:09:49 -0700 |
commit | f4b7c395a59c9093c90d8f9219522d5940845bb6 (patch) | |
tree | 426635a5f8079b4121f9597c8b8e7c4b60738088 /lib/chef/resource/file.rb | |
parent | 92824ed4962d4dfa713a31e2395210781c167b86 (diff) | |
download | chef-f4b7c395a59c9093c90d8f9219522d5940845bb6.tar.gz |
test state_for_resource_reporter on file resource
and fix it to hit the right key.
Diffstat (limited to 'lib/chef/resource/file.rb')
-rw-r--r-- | lib/chef/resource/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/file.rb b/lib/chef/resource/file.rb index d1e34f5728..b36fcc2135 100644 --- a/lib/chef/resource/file.rb +++ b/lib/chef/resource/file.rb @@ -143,7 +143,7 @@ class Chef state_attrs = super() # fix up checksum state with final_checksum saved by the provider if checksum.nil? && final_checksum - state_attrs['checksum'] = final_checksum + state_attrs[:checksum] = final_checksum end state_attrs end |