You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.
Recently I found that swarm response status codes are not completely the same as docker native api response status code. For example:
When I do a request POST /volumes/create, swarm returns a response of 200, while docker will return 201. This kind of incompatible issue exists in lots of Swarm APIs.
I think it's not so good for swarm which aims at supporting totally compatible APIs with docker.
WDYT, my friend. I will do something to change this case.
The text was updated successfully, but these errors were encountered:
@nishanttotla
Actually, I am on the listing work. :)
During the list process, I found that we could better some api response status code in github.com/docker/docker as well, such as DELETE networks should return 204 instead of 200 in docker/docker.
Hi, All:
Recently I found that swarm response status codes are not completely the same as docker native api response status code. For example:
When I do a request
POST /volumes/create
, swarm returns a response of 200, while docker will return 201. This kind of incompatible issue exists in lots of Swarm APIs.I think it's not so good for swarm which aims at supporting totally compatible APIs with docker.
WDYT, my friend. I will do something to change this case.
The text was updated successfully, but these errors were encountered: