summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/data_handler/data_handler_base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/data_handler/data_handler_base.rb')
-rw-r--r--lib/chef/chef_fs/data_handler/data_handler_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/data_handler/data_handler_base.rb b/lib/chef/chef_fs/data_handler/data_handler_base.rb
index 93d54e3bee..f487218f31 100644
--- a/lib/chef/chef_fs/data_handler/data_handler_base.rb
+++ b/lib/chef/chef_fs/data_handler/data_handler_base.rb
@@ -189,7 +189,7 @@ class Chef
# Verify that the JSON hash for this type has a key that matches its name.
# Calls the on_error block with the error, if there is one.
#
- def verify_integrity(object, entry, &on_error)
+ def verify_integrity(object, entry)
base_name = remove_dot_json(entry.name)
if object["name"] != base_name
yield("Name must be '#{base_name}' (is '#{object['name']}')")