Set container.CreatedAt in Create().
PiperOrigin-RevId: 241056805 Change-Id: I13ea8f5dbfb01ca02a3b0ab887b8c3bdf4d556a6
This commit is contained in:
parent
e8fef3d873
commit
dcf6613331
|
@ -267,6 +267,7 @@ func Create(id string, spec *specs.Spec, conf *boot.Config, bundleDir, consoleSo
|
|||
BundleDir: bundleDir,
|
||||
Root: containerRoot,
|
||||
Status: Creating,
|
||||
CreatedAt: time.Now(),
|
||||
Owner: os.Getenv("USER"),
|
||||
}
|
||||
// The Cleanup object cleans up partially created containers when an error occurs.
|
||||
|
|
Loading…
Reference in New Issue