mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 13:14:05 +00:00
Change CreationTimestamp to a util.Time and set in each storage implementation
Because time.Time doesn't work correctly with our YAML package, it is necessary to introduce a type, util.Time, which serializes correctly to JSON and YAML. Eventually we would like timestamping to cut across storage implementations; for now, we set it in each storage.
This commit is contained in:
@@ -88,7 +88,7 @@ func (c *Converter) Register(conversionFunc interface{}) error {
|
||||
type FieldMatchingFlags int
|
||||
|
||||
const (
|
||||
// Loop through destiation fields, search for matching source
|
||||
// Loop through destination fields, search for matching source
|
||||
// field to copy it from. Source fields with no corresponding
|
||||
// destination field will be ignored. If SourceToDest is
|
||||
// specified, this flag is ignored. If niether is specified,
|
||||
|
Reference in New Issue
Block a user