mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #39264 from dontub/fix-api-type-PortMap
API: Move "x-nullable: true" from type PortBinding to type PortMap
This commit is contained in:
commit
752d78017a
1 changed files with 1 additions and 1 deletions
|
@ -1154,6 +1154,7 @@ definitions:
|
||||||
type: "object"
|
type: "object"
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: "array"
|
type: "array"
|
||||||
|
x-nullable: true
|
||||||
items:
|
items:
|
||||||
$ref: "#/definitions/PortBinding"
|
$ref: "#/definitions/PortBinding"
|
||||||
example:
|
example:
|
||||||
|
@ -1178,7 +1179,6 @@ definitions:
|
||||||
PortBinding represents a binding between a host IP address and a host
|
PortBinding represents a binding between a host IP address and a host
|
||||||
port.
|
port.
|
||||||
type: "object"
|
type: "object"
|
||||||
x-nullable: true
|
|
||||||
properties:
|
properties:
|
||||||
HostIp:
|
HostIp:
|
||||||
description: "Host IP address that the container's port is mapped to."
|
description: "Host IP address that the container's port is mapped to."
|
||||||
|
|
Loading…
Reference in a new issue