mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
Convert existing kubernetes system to use ContainerStatus, instead of
docker.Container directly. Conflicts: pkg/kubelet/dockertools/docker.go pkg/registry/pod/rest.go
This commit is contained in:
@@ -77,8 +77,8 @@ func (h *httpActionHandler) Run(podFullName, uuid string, container *api.Contain
|
||||
return err
|
||||
}
|
||||
netInfo, found := info[networkContainerName]
|
||||
if found && netInfo.NetworkSettings != nil {
|
||||
host = netInfo.NetworkSettings.IPAddress
|
||||
if found && netInfo.DetailInfo.NetworkSettings != nil {
|
||||
host = netInfo.DetailInfo.NetworkSettings.IPAddress
|
||||
} else {
|
||||
return fmt.Errorf("failed to find networking container: %v", info)
|
||||
}
|
||||
|
Reference in New Issue
Block a user