mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
API: /info: remove BridgeNfIptables, BridgeNfIp6tables fields
The `BridgeNfIptables` and `BridgeNfIp6tables` fields in the
`GET /info` response were deprecated in API v1.48, and are now omitted
in API v1.49.
With this patch, old API version continue to return the field:
curl -s --unix-socket /var/run/docker.sock http://localhost/v1.48/info | jq .BridgeNfIp6tables
false
curl -s --unix-socket /var/run/docker.sock http://localhost/v1.48/info | jq .BridgeNfIptables
false
Omitting the field in API v1.49 and above
curl -s --unix-socket /var/run/docker.sock http://localhost/v1.49/info | jq .BridgeNfIp6tables
null
curl -s --unix-socket /var/run/docker.sock http://localhost/v1.49/info | jq .BridgeNfIptables
null
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -29,6 +29,9 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||
* Deprecated: The `ContainerdCommit.Expected`, `RuncCommit.Expected`, and
|
||||
`InitCommit.Expected` fields in the `GET /info` endpoint were deprecated
|
||||
in API v1.48, and are now omitted in API v1.49.
|
||||
* Deprecated: The `BridgeNfIptables` and `BridgeNfIp6tables` fields in the
|
||||
`GET /info` response were deprecated in API v1.48, and are now omitted
|
||||
in API v1.49.
|
||||
|
||||
## v1.48 API changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user