Skip to content

Commit

Permalink
Merge pull request #12502 from chef/lcg/suppress-chef-client-updater-…
Browse files Browse the repository at this point in the history
…warning
  • Loading branch information
lamont-granquist committed Jan 25, 2022
2 parents 7445813 + 742b441 commit baaa3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/resource/lwrp_base.rb
Expand Up @@ -54,7 +54,7 @@ def build_from_file(cookbook_name, filename, run_context)
resource_class.run_context = run_context
resource_class.class_from_file(filename)

if !resource_class.unified_mode && !deprecated_class(resource_class)
if !resource_class.unified_mode && !deprecated_class(resource_class) && cookbook_name.to_s != "chef_client_updater"
Chef.deprecated :unified_mode, "The #{resource_class.resource_name} resource in the #{cookbook_name} cookbook should declare `unified_mode true`", filename
end

Expand Down

0 comments on commit baaa3e9

Please sign in to comment.