diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2015-12-15 13:44:58 -0800 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2015-12-15 13:44:58 -0800 |
commit | f314c1da2ab5e2f9bd528b8acdf79c1ccf7879d7 (patch) | |
tree | 43bb7e62b673d8d435376874113e3ce34172fb7a | |
parent | 3dd8ecca066fc4e1d6d111d57d52c9c796feafc4 (diff) | |
download | chef-f314c1da2ab5e2f9bd528b8acdf79c1ccf7879d7.tar.gz |
Fix a typo comment. [ci skip]
-rw-r--r-- | lib/chef/event_dispatch/dsl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/event_dispatch/dsl.rb b/lib/chef/event_dispatch/dsl.rb index c6f21c9b45..0a6e4ca52f 100644 --- a/lib/chef/event_dispatch/dsl.rb +++ b/lib/chef/event_dispatch/dsl.rb @@ -33,7 +33,7 @@ class Chef # Use event.register API to add anonymous handler if Chef.run_context # and associated event dispatcher is set, else fallback to - # Chef::Config[:hanlder] + # Chef::Config[:event_handlers] if Chef.run_context && Chef.run_context.events Chef::Log.debug("Registering handler '#{name}' using events api") Chef.run_context.events.register(handler) |