mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Move support for filtering on node labels to API v1.40
This feature was added in 514ce73391
,
and was merged after API v1.39 shipped as part of the Docker 18.09
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
cb9d2cb71b
commit
c20aa781e6
1 changed files with 4 additions and 4 deletions
|
@ -23,6 +23,10 @@ keywords: "API, Docker, rcli, REST, documentation"
|
|||
* `POST /services/{id}/update` now accepts `Sysctls` as part of the `ContainerSpec`.
|
||||
* `GET /tasks` now returns `Sysctls` as part of the `ContainerSpec`.
|
||||
* `GET /tasks/{id}` now returns `Sysctls` as part of the `ContainerSpec`.
|
||||
* `GET /nodes` now supports a filter type `node.label` filter to filter nodes based
|
||||
on the node.label. The format of the label filter is `node.label=<key>`/`node.label=<key>=<value>`
|
||||
to return those with the specified labels, or `node.label!=<key>`/`node.label!=<key>=<value>`
|
||||
to return those without the specified labels.
|
||||
|
||||
## V1.39 API changes
|
||||
|
||||
|
@ -37,10 +41,6 @@ keywords: "API, Docker, rcli, REST, documentation"
|
|||
* `POST /swarm/init` now accepts a `DefaultAddrPool` property to set global scope default address pool
|
||||
* `POST /swarm/init` now accepts a `SubnetSize` property to set global scope networks by giving the
|
||||
length of the subnet masks for every such network
|
||||
* `GET /nodes` now supports a filter type `node.label` filter to filter nodes based
|
||||
on the node.label. The format of the label filter is `node.label=<key>`/`node.label=<key>=<value>`
|
||||
to return those with the specified labels, or `node.label!=<key>`/`node.label!=<key>=<value>`
|
||||
to return those without the specified labels.
|
||||
|
||||
## V1.38 API changes
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue