Skip to content

Fix deleting PTR records#360

Merged
jamiehannaford merged 1 commit into
rackspace:masterfrom
kiddivouchers:fix-ptr-delete
Jun 16, 2014
Merged

Fix deleting PTR records#360
jamiehannaford merged 1 commit into
rackspace:masterfrom
kiddivouchers:fix-ptr-delete

Conversation

@cs278

@cs278 cs278 commented Jun 5, 2014

Copy link
Copy Markdown
Contributor

Deleting PTR records currently fails with a 404, this correctly sends the DELETE request to the collection rather than the individual entity.

Before:

DELETE /v1.0/00000000/rdns/PTR-000000/rdns/cloudServersOpenStack?href=https%3A%2F%2Flon.servers.api.rackspacecloud.com%2Fv2%2F00000000%2Fservers%2F00000000-0000-0000-0000-000000000000&ip=a.b.c.d

After:

DELETE /v1.0/00000000/rdns/cloudServersOpenStack?href=https%3A%2F%2Flon.servers.api.rackspacecloud.com%2Fv2%2F00000000%2Fservers%2F00000000-0000-0000-0000-000000000000&ip=a.b.c.d

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) when pulling 8677f59 on kiddivouchers:fix-ptr-delete into cf89f74 on rackspace:master.

@la5942

la5942 commented Jun 5, 2014

Copy link
Copy Markdown

👍

@jamiehannaford

Copy link
Copy Markdown
Contributor

@cs278 Hey Chris, sorry about the delay in merging. Could you re-submit this to working branch, please? We don't merge straight to master unless it's a production release.

jamiehannaford pushed a commit that referenced this pull request Jun 16, 2014
@jamiehannaford jamiehannaford merged commit 1c607ee into rackspace:master Jun 16, 2014
@jamiehannaford

Copy link
Copy Markdown
Contributor

@cs278 Since I've just done a merge (for upcoming release) I'll merge this straight in. Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants