diff options
author | Mark Anderson <mark@chef.io> | 2019-05-03 16:30:28 -0700 |
---|---|---|
committer | Mark Anderson <mark@chef.io> | 2019-05-03 21:40:19 -0700 |
commit | a8dcabbb4a527816d4d19784fe2011dad28c470b (patch) | |
tree | ba1c78c52215ec02b9fbe52ec6937a317b2e56c0 /lib/chef | |
parent | c1fec9e0b6c4195be55e89d749bbffbae470539b (diff) | |
download | chef-a8dcabbb4a527816d4d19784fe2011dad28c470b.tar.gz |
Use keyword arguments for acceptance
Signed-off-by: Mark Anderson <mark@chef.io>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/application.rb | 2 | ||||
-rw-r--r-- | lib/chef/application/solo.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index f567e62806..7388e3d22d 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -61,7 +61,7 @@ class Chef end # Get this party started - def run(enforce_license = false) + def run(enforce_license: false) setup_signal_handlers reconfigure setup_application diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index 4a3957146e..b1957fbf7c 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -217,7 +217,7 @@ class Chef::Application::Solo < Chef::Application attr_reader :chef_client_json # Get this party started - def run(enforce_license = false) + def run(enforce_license: false) setup_signal_handlers setup_application reconfigure |