summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/doc.rb
diff options
context:
space:
mode:
authorXabier de Zuazo <xabier@zuazo.org>2013-01-18 13:11:37 +0100
committerBryan McLellan <btm@opscode.com>2013-06-19 14:18:43 -0700
commit2c25de2828f8a959acd5542730ad15a0136fd3ee (patch)
treee949192f41ab0482102374a95f8722eacc03f68a /lib/chef/formatters/doc.rb
parent91f9b6aef4d6ff0454ba92fe163aab4921eb83b5 (diff)
downloadchef-2c25de2828f8a959acd5542730ad15a0136fd3ee.tar.gz
[CHEF-972] created a ConditionalAction class to be used in resource#should_skip? method
Diffstat (limited to 'lib/chef/formatters/doc.rb')
-rw-r--r--lib/chef/formatters/doc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb
index 6a969404c1..300311819f 100644
--- a/lib/chef/formatters/doc.rb
+++ b/lib/chef/formatters/doc.rb
@@ -162,7 +162,7 @@ class Chef
# Called when a resource action has been skipped b/c of a conditional
def resource_skipped(resource, action, conditional)
# TODO: more info about conditional
- puts " (skipped due to #{conditional.positivity})"
+ puts " (skipped due to #{conditional.short_description})"
end
# Called after #load_current_resource has run.