Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataBagItemEndpoint is missing a delete method #82

Closed
irvingpop opened this issue Jul 31, 2014 · 1 comment
Closed

DataBagItemEndpoint is missing a delete method #82

irvingpop opened this issue Jul 31, 2014 · 1 comment
Labels
Expeditor: Skip Version Bump Used to skip built_in:bump_version Type: Bug Does not work as expected.

Comments

@irvingpop
Copy link

When calling destroy on a data_bag_item against Chef-Zero you get a 404. That's because DataBagItemEndpoint doesn't implement a delete method the way that DataBagEndpoint does.

example:

item = data_bag_item('ebs_volumes_db', 'ip-standalone.centos.aws') # works
item.destroy # fails with error:
# HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/data/ebs_volumes_db/data_bag_item_ebs_volumes_db_ip-standalone.centos.aws
@irvingpop irvingpop added the bug label Jul 31, 2014
@thommay
Copy link
Contributor

thommay commented Jul 29, 2016

This has been fixed at some point :/

@thommay thommay closed this as completed Jul 29, 2016
@thommay thommay added Type: Bug Does not work as expected. Meta: Exclude From Changelog and removed bug labels Jan 24, 2017
@thommay thommay added Expeditor: Skip Version Bump Used to skip built_in:bump_version and removed Meta: Exclude From Changelog labels Sep 22, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Expeditor: Skip Version Bump Used to skip built_in:bump_version Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants