mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
Initial support of propogating the termination reasons and image failure
to apiserver. Deprecated docker.Container from API completely. Conflicts: pkg/api/types.go pkg/kubelet/kubelet.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.DetailInfo.NetworkSettings != nil {
|
||||
host = netInfo.DetailInfo.NetworkSettings.IPAddress
|
||||
if found {
|
||||
host = netInfo.PodIP
|
||||
} else {
|
||||
return fmt.Errorf("failed to find networking container: %v", info)
|
||||
}
|
||||
|
Reference in New Issue
Block a user