summaryrefslogtreecommitdiff
path: root/lib/chef/guard_interpreter
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-10-14 14:42:25 -0700
committerSerdar Sutay <serdar@opscode.com>2014-10-16 13:30:24 -0700
commitcfec07cde0d0b42101deb0731c608dfd5c52a1e2 (patch)
tree9146bc8aa416ab552a0214ff397b007a28a99925 /lib/chef/guard_interpreter
parent8be4d2a44858b14d10d0a19484a2d090b0a7a2fb (diff)
downloadchef-cfec07cde0d0b42101deb0731c608dfd5c52a1e2.tar.gz
Error message update from PR comments.
Diffstat (limited to 'lib/chef/guard_interpreter')
-rw-r--r--lib/chef/guard_interpreter/resource_guard_interpreter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/guard_interpreter/resource_guard_interpreter.rb b/lib/chef/guard_interpreter/resource_guard_interpreter.rb
index 8eaa82c0a5..346b585d8c 100644
--- a/lib/chef/guard_interpreter/resource_guard_interpreter.rb
+++ b/lib/chef/guard_interpreter/resource_guard_interpreter.rb
@@ -89,7 +89,7 @@ class Chef
end
if ! resource_class.ancestors.include?(Chef::Resource::Execute)
- raise ArgumentError, "Specified guard interpreter class #{resource_class} must be a kind of Chef::Resource::Script resource"
+ raise ArgumentError, "Specified guard interpreter class #{resource_class} must be a kind of Chef::Resource::Execute resource"
end
empty_events = Chef::EventDispatch::Dispatcher.new