diff options
author | tylercloke <tyler@opscode.com> | 2012-09-27 17:11:18 -0700 |
---|---|---|
committer | tylercloke <tyler@opscode.com> | 2012-09-27 17:11:18 -0700 |
commit | d287bc4b726ace0b090f1f1f24b0d6c1a79b3d52 (patch) | |
tree | d3191ce7809631afe425c1061b78a22259c73b94 | |
parent | acd102890f4e9e8f43586b81a04e1a71e9a73a92 (diff) | |
download | chef-d287bc4b726ace0b090f1f1f24b0d6c1a79b3d52.tar.gz |
Removed node as argument from run_failed method in parent classes, as the child classes were reimplementing it with a different sig.
-rw-r--r-- | chef/lib/chef/client.rb | 2 | ||||
-rw-r--r-- | chef/lib/chef/event_dispatch/base.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chef/lib/chef/client.rb b/chef/lib/chef/client.rb index 25b98541ba..bd0c0548a2 100644 --- a/chef/lib/chef/client.rb +++ b/chef/lib/chef/client.rb @@ -435,7 +435,7 @@ class Chef run_status.exception = e run_failed end - @events.run_failed(node, e) + @events.run_failed(e) raise ensure run_status = nil diff --git a/chef/lib/chef/event_dispatch/base.rb b/chef/lib/chef/event_dispatch/base.rb index 3f5f3daef7..232bf7f1b4 100644 --- a/chef/lib/chef/event_dispatch/base.rb +++ b/chef/lib/chef/event_dispatch/base.rb @@ -37,7 +37,7 @@ class Chef end # Called at the end of a failed Chef run. - def run_failed(node, exception) + def run_failed(exception) end # Called right after ohai runs. |