summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-06-15 10:28:00 -0700
committerGitHub <noreply@github.com>2020-06-15 10:28:00 -0700
commit1714bd92be0dd5700ff3457a58b07766d363db45 (patch)
tree4f619106f79db63e7043415f23ab5c0d81d6844a /lib
parent3ce10c6d89728fc566709383d74b41df8dd01fd2 (diff)
parentb8166de42ec1a7841eff9a7e2d7e6b6724075d89 (diff)
downloadchef-1714bd92be0dd5700ff3457a58b07766d363db45.tar.gz
Merge pull request #9963 from ramereth/fix-chef-apply-enforce_license
Fix how enforce_license is set in run method for chef-apply
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/application/apply.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/apply.rb b/lib/chef/application/apply.rb
index 33a8a97f5b..4ed2d2a1f2 100644
--- a/lib/chef/application/apply.rb
+++ b/lib/chef/application/apply.rb
@@ -233,7 +233,7 @@ class Chef::Application::Apply < Chef::Application
end
# Get this party started
- def run(enforce_license = false)
+ def run(enforce_license: false)
reconfigure
check_license_acceptance if enforce_license
run_application