Skip to content

Commit 725259f

Browse files
committed
fixup! Adds fieldValidation field to create, patch, and update request options
Remove "+optional" tag.
1 parent b518d9b commit 725259f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/client/options.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ type CreateOptions struct {
236236
// any unknown fields would be dropped from the object, or if any
237237
// duplicate fields are present. The error returned from the server
238238
// will contain all unknown and duplicate fields encountered.
239-
// +optional
240239
FieldValidation string
241240

242241
// Raw represents raw CreateOptions, as passed to the API server.
@@ -747,7 +746,6 @@ type UpdateOptions struct {
747746
// any unknown fields would be dropped from the object, or if any
748747
// duplicate fields are present. The error returned from the server
749748
// will contain all unknown and duplicate fields encountered.
750-
// +optional
751749
FieldValidation string
752750

753751
// Raw represents raw UpdateOptions, as passed to the API server.
@@ -832,7 +830,6 @@ type PatchOptions struct {
832830
// any unknown fields would be dropped from the object, or if any
833831
// duplicate fields are present. The error returned from the server
834832
// will contain all unknown and duplicate fields encountered.
835-
// +optional
836833
FieldValidation string
837834

838835
// Raw represents raw PatchOptions, as passed to the API server.

0 commit comments

Comments
 (0)