diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-01-22 10:53:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-22 10:53:42 -0800 |
commit | 56568c01e38202dc853011efd50812e441c933fc (patch) | |
tree | c0380cb2c449611656c72be8d47e8f7d9f506531 /lib | |
parent | e19256f6f85c960ec769fd5cadebff9114c40090 (diff) | |
parent | b61c20a6789c8436883f06f216f8dbaa4a81197c (diff) | |
download | chef-56568c01e38202dc853011efd50812e441c933fc.tar.gz |
Merge pull request #6515 from dimsh99/fix_for_6242
Convert actions in Chef::Resource::Notification to symbols to prevent double notification
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/resource_notification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/resource_notification.rb b/lib/chef/resource/resource_notification.rb index bd09097669..6ede2fc346 100644 --- a/lib/chef/resource/resource_notification.rb +++ b/lib/chef/resource/resource_notification.rb @@ -30,7 +30,7 @@ class Chef def initialize(resource, action, notifying_resource) @resource = resource - @action = action + @action = action&.to_sym @notifying_resource = notifying_resource end |