Describe IP field of Port definition
Signed-off-by: Ethan Bell <ebgamer29@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 13e0b2651082878f8f17669df3f97ab252a9e095 Component: engine
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
14395e1de7
commit
8373fcb573
@@ -155,6 +155,7 @@ definitions:
|
||||
IP:
|
||||
type: "string"
|
||||
format: "ip-address"
|
||||
description: "Host IP address that the container's port is mapped to"
|
||||
PrivatePort:
|
||||
type: "integer"
|
||||
format: "uint16"
|
||||
|
||||
@@ -7,7 +7,7 @@ package types
|
||||
// swagger:model Port
|
||||
type Port struct {
|
||||
|
||||
// IP
|
||||
// Host IP address that the container's port is mapped to
|
||||
IP string `json:"IP,omitempty"`
|
||||
|
||||
// Port on the container
|
||||
|
||||
Reference in New Issue
Block a user