mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
only log about no network settings for running pods
This commit is contained in:
parent
fd7b4d46cb
commit
b3c7aa8a53
@ -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