Merge pull request #9673 from zzzzzzzzzy9/dev2

pod: CreatedAt time will be 269 years ago if create cri network failed
This commit is contained in:
Maksym Pavlenko 2024-01-24 16:31:01 +00:00 committed by GitHub
commit 75459afafd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,7 +120,8 @@ func (c *criService) RunPodSandbox(ctx context.Context, r *runtime.RunPodSandbox
RuntimeHandler: r.GetRuntimeHandler(),
},
sandboxstore.Status{
State: sandboxstore.StateUnknown,
State: sandboxstore.StateUnknown,
CreatedAt: time.Now().UTC(),
},
)