Skip to content

Commit b531399

Browse files
chrishenziek8s-infra-cherrypick-robot
authored and
k8s-infra-cherrypick-robot
committedFeb 18, 2025
Revert "Add timestamp to PodSandboxStatusResponse for kubernetes Evented PLEG"
This reverts commit b529072. Signed-off-by: Chris Henzie <chrishenzie@google.com>
1 parent 6b5df74 commit b531399

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎internal/cri/server/sandbox_status.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ func (c *criService) PodSandboxStatus(ctx context.Context, r *runtime.PodSandbox
4646
state string
4747
info map[string]string
4848
)
49-
timestamp := time.Now().UnixNano()
5049
cstatus, err := c.sandboxService.SandboxStatus(ctx, sandbox.Sandboxer, sandbox.ID, r.GetVerbose())
5150
if err != nil {
5251
// 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
8483
}
8584

8685
return &runtime.PodSandboxStatusResponse{
87-
Status: status,
88-
Info: info,
89-
Timestamp: timestamp,
86+
Status: status,
87+
Info: info,
9088
}, nil
9189
}
9290

0 commit comments

Comments
 (0)