Merge pull request #11403 from k8s-infra-cherrypick-robot/cherry-pick-11323-to-release/2.0
[release/2.0] Revert "Add timestamp to PodSandboxStatusResponse for kubernetes Evented PLEG"
This commit is contained in:
		| @@ -46,7 +46,6 @@ func (c *criService) PodSandboxStatus(ctx context.Context, r *runtime.PodSandbox | |||||||
| 		state     string | 		state     string | ||||||
| 		info      map[string]string | 		info      map[string]string | ||||||
| 	) | 	) | ||||||
| 	timestamp := time.Now().UnixNano() |  | ||||||
| 	cstatus, err := c.sandboxService.SandboxStatus(ctx, sandbox.Sandboxer, sandbox.ID, r.GetVerbose()) | 	cstatus, err := c.sandboxService.SandboxStatus(ctx, sandbox.Sandboxer, sandbox.ID, r.GetVerbose()) | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		// If the shim died unexpectedly (segfault etc.) let's set the state as | 		// If the shim died unexpectedly (segfault etc.) let's set the state as | ||||||
| @@ -86,7 +85,6 @@ func (c *criService) PodSandboxStatus(ctx context.Context, r *runtime.PodSandbox | |||||||
| 	return &runtime.PodSandboxStatusResponse{ | 	return &runtime.PodSandboxStatusResponse{ | ||||||
| 		Status: status, | 		Status: status, | ||||||
| 		Info:   info, | 		Info:   info, | ||||||
| 		Timestamp: timestamp, |  | ||||||
| 	}, nil | 	}, nil | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Akihiro Suda
					Akihiro Suda