diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-10-12 10:53:24 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-10-12 10:53:24 -0700 |
commit | 11d64c2438d6e387986adce3d4740f2bc7efaab9 (patch) | |
tree | 865a5dee3b36a7a3a87584cd3e3f83185c9ca8ac /lib/chef/resource.rb | |
parent | a586fc56889428dd47997a81aa5ace88b0aa8882 (diff) | |
download | chef-11d64c2438d6e387986adce3d4740f2bc7efaab9.tar.gz |
make arg to delayed_action requiredlcg/tweak-delayed-action-api
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource.rb')
-rw-r--r-- | lib/chef/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index 74acd94e9b..074ab772a1 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -187,7 +187,7 @@ class Chef # # @param arg [Array[Symbol], Symbol] A list of actions (e.g. `:create`) # - def delayed_action(arg = nil) + def delayed_action(arg) arg = Array(arg).map(&:to_sym) arg.map do |action| validate( |