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

return status code http.StatusNoContent in deleting network when OK #20977

Merged
merged 1 commit into from Mar 13, 2016

Conversation

allencloud
Copy link
Contributor

1.return status code http.StatusNoContent in deleting network when successful
2.modify docker_api_network_test.go

fixes #20976

@cpuguy83
Copy link
Member

cpuguy83 commented Mar 7, 2016

This would need an update to the API docs.

ping @mavenugo

…ccessful

2.modify docker_api_network_test.go
3.modify docker_remote_api_v1.23.md

Signed-off-by: allencloud <allen.sun@daocloud.io>
@allencloud allencloud force-pushed the fix-delete-response-status-code branch from 4562a21 to 94c9290 Compare March 9, 2016 16:29
@allencloud
Copy link
Contributor Author

@cpuguy83
I made a little change to the docker_remote_api_v1.23.md.

@allencloud
Copy link
Contributor Author

@cpuguy83
I made some change in api v1.23. However , for now with docker 1.10.2 docker api version is v1.22. Do I need to modify docker_remote_api_v1.22.md?

And may I ask the relationship of docker api version and docker version?
Or is there some place to find details with this information about relationship?

@cpuguy83
Copy link
Member

No need to modify the API for the current released version since we will not change that.

There's a chart in the docs relating API version to release version.

@calavera
Copy link
Contributor

LGTM

2 similar comments
@mavenugo
Copy link
Contributor

LGTM

@cpuguy83
Copy link
Member

LGTM

cpuguy83 added a commit that referenced this pull request Mar 13, 2016
…code

return status code http.StatusNoContent in deleting network when OK
@cpuguy83 cpuguy83 merged commit a04e16a into moby:master Mar 13, 2016
@thaJeztah thaJeztah added this to the 1.11.0 milestone Mar 13, 2016
@allencloud allencloud deleted the fix-delete-response-status-code branch May 10, 2016 00:11
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.

API: DELETE network/:id should return a response with code StatusNoContent if successful
6 participants