summaryrefslogtreecommitdiff
path: root/lib/chef_zero/data_store/memory_store.rb
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2013-10-11 13:35:51 -0700
committerJohn Keiser <jkeiser@opscode.com>2013-10-11 13:35:51 -0700
commit0cd5355c93707cae9e74368eb7d220a81215fb93 (patch)
treee47e02ad658c3367c70c703c45315b461e26f1ef /lib/chef_zero/data_store/memory_store.rb
parent1f1fe8e268906dac87865606db04c479168d80f3 (diff)
downloadchef-zero-0cd5355c93707cae9e74368eb7d220a81215fb93.tar.gz
Fix issue with memory store deletes
Diffstat (limited to 'lib/chef_zero/data_store/memory_store.rb')
-rw-r--r--lib/chef_zero/data_store/memory_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/data_store/memory_store.rb b/lib/chef_zero/data_store/memory_store.rb
index 42d1953..6ed15ee 100644
--- a/lib/chef_zero/data_store/memory_store.rb
+++ b/lib/chef_zero/data_store/memory_store.rb
@@ -106,7 +106,7 @@ module ChefZero
parent.delete(path[-1])
end
- def delete_dir(path)
+ def delete_dir(path, *options)
parent = _get(path[0,path.length-1])
if !parent.has_key?(path[-1])
raise DataNotFoundError.new(path)