Skip to content

Commit

Permalink
Merge pull request #6938 from hdurand0710/FixTypos
Browse files Browse the repository at this point in the history
Fix some typos in API comments
  • Loading branch information
kubevirt-bot committed Dec 14, 2021
2 parents 403f1a8 + 232242b commit 5c8d3ea
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
4 changes: 2 additions & 2 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11748,7 +11748,7 @@
}
},
"v1.ClientPassthroughDevices": {
"description": "Represent a subset of client devices that can be accessed by VMI. At the moment only, USB devices using Usbredir's library and tooling. Another fit would be a smartcard with libcacard.\n\nThe struct is currently empty as there is no imediate request for user-facing APIs. This structure simply turns on USB redirection of UsbClientPassthroughMaxNumberOf devices.",
"description": "Represent a subset of client devices that can be accessed by VMI. At the moment only, USB devices using Usbredir's library and tooling. Another fit would be a smartcard with libcacard.\n\nThe struct is currently empty as there is no immediate request for user-facing APIs. This structure simply turns on USB redirection of UsbClientPassthroughMaxNumberOf devices.",
"type": "object"
},
"v1.Clock": {
Expand Down Expand Up @@ -13724,7 +13724,7 @@
}
},
"v1.Port": {
"description": "Port repesents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory",
"description": "Port represents a port to expose from the virtual machine. Default protocol TCP. The port field is mandatory",
"type": "object",
"required": [
"port"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4347,7 +4347,7 @@ var CRDsValidation map[string]string = map[string]string{
description: List of ports to be forwarded to the
virtual machine.
items:
description: Port repesents a port to expose from
description: Port represents a port to expose from
the virtual machine. Default protocol TCP. The
port field is mandatory
properties:
Expand Down Expand Up @@ -7339,7 +7339,7 @@ var CRDsValidation map[string]string = map[string]string{
description: List of ports to be forwarded to the virtual
machine.
items:
description: Port repesents a port to expose from the virtual
description: Port represents a port to expose from the virtual
machine. Default protocol TCP. The port field is mandatory
properties:
name:
Expand Down Expand Up @@ -9411,7 +9411,7 @@ var CRDsValidation map[string]string = map[string]string{
description: List of ports to be forwarded to the virtual
machine.
items:
description: Port repesents a port to expose from the virtual
description: Port represents a port to expose from the virtual
machine. Default protocol TCP. The port field is mandatory
properties:
name:
Expand Down Expand Up @@ -11231,7 +11231,7 @@ var CRDsValidation map[string]string = map[string]string{
description: List of ports to be forwarded to the
virtual machine.
items:
description: Port repesents a port to expose from
description: Port represents a port to expose from
the virtual machine. Default protocol TCP. The
port field is mandatory
properties:
Expand Down Expand Up @@ -14505,7 +14505,7 @@ var CRDsValidation map[string]string = map[string]string{
description: List of ports to be forwarded
to the virtual machine.
items:
description: Port repesents a port to expose
description: Port represents a port to expose
from the virtual machine. Default protocol
TCP. The port field is mandatory
properties:
Expand Down Expand Up @@ -18122,9 +18122,10 @@ var CRDsValidation map[string]string = map[string]string{
description: List of ports to be forwarded
to the virtual machine.
items:
description: Port repesents a port to
expose from the virtual machine. Default
protocol TCP. The port field is mandatory
description: Port represents a port
to expose from the virtual machine.
Default protocol TCP. The port field
is mandatory
properties:
name:
description: If specified, this
Expand Down
4 changes: 2 additions & 2 deletions staging/src/kubevirt.io/api/core/v1/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ type Devices struct {
// moment only, USB devices using Usbredir's library and tooling. Another fit
// would be a smartcard with libcacard.
//
// The struct is currently empty as there is no imediate request for
// The struct is currently empty as there is no immediate request for
// user-facing APIs. This structure simply turns on USB redirection of
// UsbClientPassthroughMaxNumberOf devices.
type ClientPassthroughDevices struct {
Expand Down Expand Up @@ -1168,7 +1168,7 @@ type InterfaceSRIOV struct{}

type InterfaceMacvtap struct{}

// Port repesents a port to expose from the virtual machine.
// Port represents a port to expose from the virtual machine.
// Default protocol TCP.
// The port field is mandatory
type Port struct {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions staging/src/kubevirt.io/client-go/api/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c8d3ea

Please sign in to comment.