mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #3027 from jdef/rest_no_network_settings
only log about no network settings for running pods
This commit is contained in:
commit
82d0d68571
@ -235,7 +235,7 @@ func (rs *REST) fillPodInfo(pod *api.Pod) {
|
||||
if ok {
|
||||
if netContainerInfo.PodIP != "" {
|
||||
pod.Status.PodIP = netContainerInfo.PodIP
|
||||
} else {
|
||||
} else if netContainerInfo.State.Running != nil {
|
||||
glog.Warningf("No network settings: %#v", netContainerInfo)
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user