From cfec07cde0d0b42101deb0731c608dfd5c52a1e2 Mon Sep 17 00:00:00 2001 From: Serdar Sutay Date: Tue, 14 Oct 2014 14:42:25 -0700 Subject: Error message update from PR comments. --- lib/chef/guard_interpreter/resource_guard_interpreter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef') 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 -- cgit v1.2.1