diff options
author | John Keiser <john@johnkeiser.com> | 2015-05-07 09:53:35 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-05-13 13:43:15 -0700 |
commit | 27c57238f1f2fddc7d03dad818a6b7ee78cbff96 (patch) | |
tree | bba0c04ced9a410ad5363c74e3a8462ee27e3d8c /lib/chef/resource_reporter.rb | |
parent | 2032c6776587f9450ddba182867973ab5bee1b75 (diff) | |
download | chef-27c57238f1f2fddc7d03dad818a6b7ee78cbff96.tar.gz |
Deprecate dsl_name (the "DSL name for this class" is no longer meaningful).
Diffstat (limited to 'lib/chef/resource_reporter.rb')
-rw-r--r-- | lib/chef/resource_reporter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource_reporter.rb b/lib/chef/resource_reporter.rb index 96cc01d814..7829bb4d70 100644 --- a/lib/chef/resource_reporter.rb +++ b/lib/chef/resource_reporter.rb @@ -59,7 +59,7 @@ class Chef # attrs. def for_json as_hash = {} - as_hash["type"] = new_resource.class.dsl_name + as_hash["type"] = new_resource.resource_name.to_sym as_hash["name"] = new_resource.name.to_s as_hash["id"] = new_resource.identity.to_s as_hash["after"] = new_resource.state_for_resource_reporter |