mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
Merge pull request #1335 from dchen1107/exit1
Convert existing kubernetes system to use ContainerStatus, instead of
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