Skip to content

Commit

Permalink
Removed deviceName
Browse files Browse the repository at this point in the history
  • Loading branch information
vr4manta committed Oct 11, 2024
1 parent 981dd64 commit acc042b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 19 deletions.
5 changes: 0 additions & 5 deletions machine/v1beta1/types_vsphereprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ type NetworkDeviceSpec struct {

// VSphereDisk describes additional disks for vSphere.
type VSphereDisk struct {
// deviceName is a name to be used to identify the disk definition. If deviceName is not specified,
// the disk will still be created. The deviceName should be unique so that it can be used to clearly
// identify purpose of the disk, but is not required to be unique.
// +optional
DeviceName string `json:"deviceName,omitempty"`
// sizeGiB is the size of the disk (in GiB).
// +kubebuilder:validation:Required
SizeGiB int64 `json:"sizeGiB"`
Expand Down
5 changes: 2 additions & 3 deletions machine/v1beta1/zz_generated.swagger_doc_generated.go

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

7 changes: 0 additions & 7 deletions openapi/generated_openapi/zz_generated.openapi.go

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

4 changes: 0 additions & 4 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -22245,10 +22245,6 @@
"sizeGiB"
],
"properties": {
"deviceName": {
"description": "deviceName is a name to be used to identify the disk definition. If deviceName is not specified, the disk will still be created. The deviceName should be unique so that it can be used to clearly identify purpose of the disk, but is not required to be unique.",
"type": "string"
},
"sizeGiB": {
"description": "sizeGiB is the size of the disk (in GiB).",
"type": "integer",
Expand Down

0 comments on commit acc042b

Please sign in to comment.