summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrajakta Purohit <prajakta@opscode.com>2016-07-11 13:14:13 -0700
committerPrajakta Purohit <prajakta@opscode.com>2016-07-11 13:14:13 -0700
commite8a9eea2b5fbe592c0811892bf4ea8d79cb8fac9 (patch)
treef392b6419c5d14a122ab1c2262a0725b5dd77e7b
parent8be793e5d076a9e875ecbf42afd2a1b4f9be2623 (diff)
downloadchef-cd/FLOW-335.tar.gz
Delete inherited methods and Remove some debug statementscd/FLOW-335
-rw-r--r--lib/chef/formatters/minimal.rb3
-rw-r--r--lib/chef/resource.rb1
-rw-r--r--lib/chef/resource_reporter.rb3
3 files changed, 0 insertions, 7 deletions
diff --git a/lib/chef/formatters/minimal.rb b/lib/chef/formatters/minimal.rb
index 71b47a197b..c8fc504eb0 100644
--- a/lib/chef/formatters/minimal.rb
+++ b/lib/chef/formatters/minimal.rb
@@ -182,9 +182,6 @@ class Chef
print "S"
end
- def resource_not_skipped(resource, action, conditional)
- end
-
# Called after #load_current_resource has run.
def resource_current_state_loaded(resource, action, current_resource)
end
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index b08391e6c7..850a6ed339 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -1494,7 +1494,6 @@ class Chef
conditionals.find do |conditional|
if conditional.continue?
events.resource_not_skipped(self, action, conditional) if events
- Chef::Log.debug("Not skipping #{self}, passed guard #{conditional.description}")
false
else
events.resource_skipped(self, action, conditional)
diff --git a/lib/chef/resource_reporter.rb b/lib/chef/resource_reporter.rb
index c6d62b7908..4135483441 100644
--- a/lib/chef/resource_reporter.rb
+++ b/lib/chef/resource_reporter.rb
@@ -181,9 +181,6 @@ class Chef
@pending_update = nil unless nested_resource?(resource)
end
- def resource_not_skipped(resource, action, conditional)
- end
-
def resource_updated(new_resource, action)
@total_res_count += 1
end