summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorMark Anderson <mark@chef.io>2019-05-03 16:30:28 -0700
committerMark Anderson <mark@chef.io>2019-05-03 21:40:19 -0700
commita8dcabbb4a527816d4d19784fe2011dad28c470b (patch)
treeba1c78c52215ec02b9fbe52ec6937a317b2e56c0 /lib/chef
parentc1fec9e0b6c4195be55e89d749bbffbae470539b (diff)
downloadchef-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.rb2
-rw-r--r--lib/chef/application/solo.rb2
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