mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 13:14:05 +00:00
Update ContainerState.Termination to ContainerState.Terminated in pkg/api/types.go and pkg/api/v1/types.go
This commit is contained in:
@@ -136,7 +136,7 @@ func (p *podInfo) getContainerStatus(container *kubecontainer.Container) api.Con
|
||||
}
|
||||
exitCode = -1
|
||||
status.State = api.ContainerState{
|
||||
Termination: &api.ContainerStateTerminated{
|
||||
Terminated: &api.ContainerStateTerminated{
|
||||
ExitCode: exitCode,
|
||||
StartedAt: util.Unix(container.Created, 0),
|
||||
},
|
||||
|
Reference in New Issue
Block a user