summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-05-16 18:49:32 -0700
committerGitHub <noreply@github.com>2018-05-16 18:49:32 -0700
commit7d6774fc47de4e1bba13d1fdc520201c7e3db88d (patch)
tree8842980891a0c6065bf4889317fef30672da3ebd
parentbf0864355fee3586ba80a335a761a2c43d317ce1 (diff)
parentea016bda0f9c1670ac7ce1471ae10a50552d7f3e (diff)
downloadchef-7d6774fc47de4e1bba13d1fdc520201c7e3db88d.tar.gz
Merge pull request #7276 from chef/describe_default_action
Add default_action to the resource inspector
-rw-r--r--lib/chef/resource_inspector.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource_inspector.rb b/lib/chef/resource_inspector.rb
index b112cb0565..f4c745c080 100644
--- a/lib/chef/resource_inspector.rb
+++ b/lib/chef/resource_inspector.rb
@@ -28,6 +28,7 @@ module ResourceInspector
data = {}
data[:description] = resource.description
# data[:deprecated] = resource.deprecated || false
+ data[:default_action] = resource.default_action
data[:actions] = resource.allowed_actions
data[:examples] = resource.examples
data[:introduced] = resource.introduced