From a698acd3c8b0de9cf595798feddd2200e379f054 Mon Sep 17 00:00:00 2001 From: nikhiljindal Date: Mon, 10 Aug 2015 13:32:46 -0700 Subject: [PATCH] Fixing a typo in port swagger description --- api/swagger-spec/v1.json | 2 +- pkg/api/v1/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 0eb42575432..ba125f2ea3a 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -12721,7 +12721,7 @@ "properties": { "port": { "type": "string", - "description": "number of name of the port to access on the container; number must be in the range 1 to 65535; name must be an IANA_SVC_NAME" + "description": "number or name of the port to access on the container; number must be in the range 1 to 65535; name must be an IANA_SVC_NAME" } } }, diff --git a/pkg/api/v1/types.go b/pkg/api/v1/types.go index 2f8178bc393..81afd3a276d 100644 --- a/pkg/api/v1/types.go +++ b/pkg/api/v1/types.go @@ -609,7 +609,7 @@ const ( // TCPSocketAction describes an action based on opening a socket type TCPSocketAction struct { // Required: Port to connect to. - Port util.IntOrString `json:"port" description:"number of name of the port to access on the container; number must be in the range 1 to 65535; name must be an IANA_SVC_NAME"` + Port util.IntOrString `json:"port" description:"number or name of the port to access on the container; number must be in the range 1 to 65535; name must be an IANA_SVC_NAME"` } // ExecAction describes a "run in container" action.