mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
This commit is contained in:
@@ -25,7 +25,7 @@ import (
|
||||
|
||||
// FillObjectMetaSystemFields populates fields that are managed by the system on ObjectMeta.
|
||||
func FillObjectMetaSystemFields(ctx Context, meta *ObjectMeta) {
|
||||
meta.CreationTimestamp = util.Now()
|
||||
meta.CreationTimestamp = unversioned.Now()
|
||||
meta.UID = util.NewUUID()
|
||||
meta.SelfLink = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user