diff options
author | tyler-ball <tyleraball@gmail.com> | 2015-01-26 09:28:18 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2015-01-26 09:28:18 -0800 |
commit | 909afcae931551f15ab454ab1ad83d543544fb2d (patch) | |
tree | 779b7bd7f4f7eeba0cc86e694088a2c37ccf784a /lib | |
parent | 151a295fe0849457804c12eb72a086f0c64bc6bc (diff) | |
parent | 7b8b3b53ece85f5e90fe04ea19329d969111cc8b (diff) | |
download | chef-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.rb | 2 |
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 |