Commit 82d0d685 authored by Brendan Burns's avatar Brendan Burns

Merge pull request #3027 from jdef/rest_no_network_settings

only log about no network settings for running pods
parents 36bc3604 b3c7aa8a
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment