summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRanjib Dey <ranjib@pagerduty.com>2015-06-18 22:42:41 -0700
committerRanjib Dey <ranjib@pagerduty.com>2015-06-18 22:42:41 -0700
commit3769bf187130c95d5ef2575a0f4ac9e06b197f5c (patch)
treee02a6cc537ab78554c33e816d184e6f4d5a6efc4
parent9661b839d18d56168d010c9d6f6d01e404c81d0e (diff)
downloadchef-3769bf187130c95d5ef2575a0f4ac9e06b197f5c.tar.gz
fix typo
-rw-r--r--lib/chef/event_dispatch/dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/event_dispatch/dsl.rb b/lib/chef/event_dispatch/dsl.rb
index 6e5178f20b..e700fd1640 100644
--- a/lib/chef/event_dispatch/dsl.rb
+++ b/lib/chef/event_dispatch/dsl.rb
@@ -32,7 +32,7 @@ class Chef
handler.define_singleton_method(event_type) do |*args|
block.call(args)
end
- # Use current event dispacth system is run_context and associated event
+ # Use current event dispatch system is run_context and associated event
# dispatcher is set else fall back to Chef::Config[:hanlder]
if Chef.run_context && Chef.run_context.events
Chef::Log.debug('Registering handler using run_context')