summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2021-08-27 13:54:23 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2021-08-27 13:54:23 -0400
commit6b9cf113b4243bba47ab7e4f8d41da37427e4804 (patch)
tree16ddf78b88f2d1e880697305126d0ecc382cf983
parent8675b0849785d6610cf1406dc00d123f2713bccd (diff)
downloadchef-6b9cf113b4243bba47ab7e4f8d41da37427e4804.tar.gz
Revert experimental/debug codemp/remove-invalid-check
This was accidentally included with the changes to support resource provider action documentation; it was left over from an earlier abandoned approach and should not have been left in. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
-rw-r--r--lib/chef/resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index 3707606dd9..517c30bc19 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -1183,7 +1183,7 @@ class Chef
begin
is_custom_resource!
base_provider =
- if superclass.custom_resource? || superclass != Chef::Resource
+ if superclass.custom_resource?
superclass.action_class
else