mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Fixing a typo in port swagger description
This commit is contained in:
parent
2bfa9a1f98
commit
a698acd3c8
@ -12721,7 +12721,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"port": {
|
"port": {
|
||||||
"type": "string",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -609,7 +609,7 @@ const (
|
|||||||
// TCPSocketAction describes an action based on opening a socket
|
// TCPSocketAction describes an action based on opening a socket
|
||||||
type TCPSocketAction struct {
|
type TCPSocketAction struct {
|
||||||
// Required: Port to connect to.
|
// 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.
|
// ExecAction describes a "run in container" action.
|
||||||
|
Loading…
Reference in New Issue
Block a user