summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2015-01-26 09:28:18 -0800
committertyler-ball <tyleraball@gmail.com>2015-01-26 09:28:18 -0800
commit909afcae931551f15ab454ab1ad83d543544fb2d (patch)
tree779b7bd7f4f7eeba0cc86e694088a2c37ccf784a /lib
parent151a295fe0849457804c12eb72a086f0c64bc6bc (diff)
parent7b8b3b53ece85f5e90fe04ea19329d969111cc8b (diff)
downloadchef-909afcae931551f15ab454ab1ad83d543544fb2d.tar.gz
Merge remote-tracking branch 'habermann24/patch-1' into tball/merging-2707
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/data_bag_item.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/data_bag_item.rb b/lib/chef/data_bag_item.rb
index 6f0ae65478..fc0ee74c0c 100644
--- a/lib/chef/data_bag_item.rb
+++ b/lib/chef/data_bag_item.rb
@@ -158,7 +158,7 @@ class Chef
end
end
- def destroy(data_bag=data_bag, databag_item=name)
+ def destroy(data_bag=data_bag(), databag_item=name)
chef_server_rest.delete_rest("data/#{data_bag}/#{databag_item}")
end