Fix CRD validation error for 'items' field
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
This commit is contained in:
15
vendor/github.com/go-openapi/strfmt/date.go
generated
vendored
15
vendor/github.com/go-openapi/strfmt/date.go
generated
vendored
@@ -148,3 +148,18 @@ func (d *Date) SetBSON(raw bson.Raw) error {
|
||||
|
||||
return errors.New("couldn't unmarshal bson raw value as Date")
|
||||
}
|
||||
|
||||
// DeepCopyInto copies the receiver and writes its value into out.
|
||||
func (d *Date) DeepCopyInto(out *Date) {
|
||||
*out = *d
|
||||
}
|
||||
|
||||
// DeepCopy copies the receiver into a new Date.
|
||||
func (d *Date) DeepCopy() *Date {
|
||||
if d == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Date)
|
||||
d.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
Reference in New Issue
Block a user