Skip to content

Commit 33178dc

Browse files
committed
Merge pull request kubernetes#12496 from nikhiljindal/portDescription
Fixing a typo in port swagger description
2 parents e13b00e + a698acd commit 33178dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/swagger-spec/v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12721,7 +12721,7 @@
1272112721
"properties": {
1272212722
"port": {
1272312723
"type": "string",
12724-
"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"
12724+
"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"
1272512725
}
1272612726
}
1272712727
},

pkg/api/v1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ const (
609609
// TCPSocketAction describes an action based on opening a socket
610610
type TCPSocketAction struct {
611611
// Required: Port to connect to.
612-
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"`
612+
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"`
613613
}
614614

615615
// ExecAction describes a "run in container" action.

0 commit comments

Comments
 (0)