mirror of https://github.com/knative/pkg.git
Make VolatileTime compatible with controller-gen (#2104)
This commit is contained in:
parent
78b8140ed1
commit
2a0fc657a7
|
@ -28,6 +28,8 @@ import (
|
|||
// Thus differing VolatileTime values are not considered different.
|
||||
// Note, go-cmp will still return inequality, see unit test if you
|
||||
// need this behavior for go-cmp.
|
||||
//
|
||||
// +kubebuilder:validation:Type=string
|
||||
type VolatileTime struct {
|
||||
Inner metav1.Time `json:",inline"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue