mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-19 21:44:23 +01:00
Merge pull request #2995 from Tim-Zhang/fix-container-created-time
rustjail: Fix created time of container
This commit is contained in:
@@ -995,8 +995,6 @@ impl BaseContainer for LinuxContainer {
|
||||
|
||||
info!(logger, "entered namespaces!");
|
||||
|
||||
self.created = SystemTime::now();
|
||||
|
||||
if p.init {
|
||||
let spec = self.config.spec.as_mut().unwrap();
|
||||
update_namespaces(&self.logger, spec, p.pid)?;
|
||||
|
||||
Reference in New Issue
Block a user