summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-11-02 11:04:24 -0700
committerGitHub <noreply@github.com>2018-11-02 11:04:24 -0700
commitcf2da27b8f3a2ef0cd9b1a4c8afa585d7953f886 (patch)
treee0cd1247004914c1392c1936b19053f448387f56
parent555873407d12d79d5735c9c8650a3f150568bace (diff)
parentda6fc84da1c8d6758c7cab82ee08625c58eff79c (diff)
downloadchef-cf2da27b8f3a2ef0cd9b1a4c8afa585d7953f886.tar.gz
Merge pull request #7855 from chef/remove_bogus_check
Remove the check for nil code property in the script provider
-rw-r--r--lib/chef/provider/script.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/chef/provider/script.rb b/lib/chef/provider/script.rb
index 444eac54ac..b54965be45 100644
--- a/lib/chef/provider/script.rb
+++ b/lib/chef/provider/script.rb
@@ -49,10 +49,6 @@ class Chef
def load_current_resource
super
- # @todo Chef-15: change this to an exception
- if code.nil?
- logger.warn "#{new_resource}: No code attribute was given, resource does nothing, this behavior is deprecated and will be removed in Chef 15 (April 2019)"
- end
end
def action_run