Revert "Add timestamp to PodSandboxStatusResponse for kubernetes Evented PLEG"

This reverts commit b5290726d2.

Signed-off-by: Chris Henzie <chrishenzie@google.com>
This commit is contained in:
Chris Henzie 2025-01-29 10:28:30 -08:00 committed by k8s-infra-cherrypick-robot
parent 6b5df746e4
commit b5313993c1

View File

@ -46,7 +46,6 @@ func (c *criService) PodSandboxStatus(ctx context.Context, r *runtime.PodSandbox
state string
info map[string]string
)
timestamp := time.Now().UnixNano()
cstatus, err := c.sandboxService.SandboxStatus(ctx, sandbox.Sandboxer, sandbox.ID, r.GetVerbose())
if err != nil {
// If the shim died unexpectedly (segfault etc.) let's set the state as
@ -84,9 +83,8 @@ func (c *criService) PodSandboxStatus(ctx context.Context, r *runtime.PodSandbox
}
return &runtime.PodSandboxStatusResponse{
Status: status,
Info: info,
Timestamp: timestamp,
Status: status,
Info: info,
}, nil
}