summaryrefslogtreecommitdiff
path: root/lib/chef/resource_reporter.rb
diff options
context:
space:
mode:
authorjamesc <james@opscode.com>2013-07-09 23:38:58 -0700
committerdanielsdeleo <dan@opscode.com>2013-07-10 16:24:31 -0700
commit552ccaeccf22fb01f95aab4536731523312c473e (patch)
tree08b354dc54eb327bfaea0cf00a1430c13e5c15a1 /lib/chef/resource_reporter.rb
parent1c3783bc793115858c4b401aeb9ee3cd16be27d3 (diff)
downloadchef-552ccaeccf22fb01f95aab4536731523312c473e.tar.gz
update logic so that we don't return dummy values in resource reporter
Diffstat (limited to 'lib/chef/resource_reporter.rb')
-rw-r--r--lib/chef/resource_reporter.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/resource_reporter.rb b/lib/chef/resource_reporter.rb
index 33d5d2da6a..434150e83d 100644
--- a/lib/chef/resource_reporter.rb
+++ b/lib/chef/resource_reporter.rb
@@ -67,9 +67,6 @@ class Chef
if new_resource.cookbook_name
as_hash["cookbook_name"] = new_resource.cookbook_name
as_hash["cookbook_version"] = new_resource.cookbook_version.version
- else
- as_hash["cookbook_name"] = ""
- as_hash["cookbook_version"] = "0.0.0"
end
as_hash