Merge pull request #176 from gao-feng/hidden-infra-container
store infra container in sandbox
This commit is contained in:
commit
c89157e45c
3 changed files with 49 additions and 41 deletions
|
@ -291,9 +291,7 @@ func (s *Server) createSandboxContainer(containerID string, containerName string
|
|||
}
|
||||
}
|
||||
// Join the namespace paths for the pod sandbox container.
|
||||
podContainerName := sb.name + "-infra"
|
||||
podInfraContainer := sb.getContainer(podContainerName)
|
||||
podInfraState := s.runtime.ContainerStatus(podInfraContainer)
|
||||
podInfraState := s.runtime.ContainerStatus(sb.infraContainer)
|
||||
|
||||
logrus.Infof("pod container state %v", podInfraState)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue