Skip to content

Commit 83b65e5

Browse files
committed
Revert "Add timestamp to PodSandboxStatusResponse for kubernetes Evented PLEG"
This reverts commit b529072. Signed-off-by: Chris Henzie <[email protected]>
1 parent 8efbc01 commit 83b65e5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

internal/cri/server/sandbox_status.go

Lines changed: 2 additions & 4 deletions
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)