Skip to content

Commit 86fba4f

Browse files
committed
update godoc to add validation
Signed-off-by: chiragkyal <ckyal@redhat.com>
1 parent 1eae6f1 commit 86fba4f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

machine/v1beta1/types_awsprovider.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ type AWSMachineProviderConfig struct {
8585
// +optional
8686
PlacementGroupName string `json:"placementGroupName,omitempty"`
8787
// PlacementGroupPartition is the partition number within the placement group in which to launch the instance.
88-
// This value is only valid if the placement group, referred in `PlacementGroupName`, was created with
89-
// strategy set to partition.
88+
// This must be an integer value between 1 and 7. It is only valid if the placement group, referred in
89+
// `PlacementGroupName` was created with strategy set to partition.
9090
// +kubebuilder:validation:Minimum:=1
9191
// +kubebuilder:validation:Maximum:=7
9292
// +optional

machine/v1beta1/zz_generated.swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/generated_openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20097,7 +20097,7 @@
2009720097
"type": "string"
2009820098
},
2009920099
"placementGroupPartition": {
20100-
"description": "PlacementGroupPartition is the partition number within the placement group in which to launch the instance. This value is only valid if the placement group, referred in `PlacementGroupName`, was created with strategy set to partition.",
20100+
"description": "PlacementGroupPartition is the partition number within the placement group in which to launch the instance. This must be an integer value between 1 and 7. It is only valid if the placement group, referred in `PlacementGroupName` was created with strategy set to partition.",
2010120101
"type": "integer",
2010220102
"format": "int64"
2010320103
},

0 commit comments

Comments
 (0)