Skip to content

Commit

Permalink
Merge pull request #4547 from dchen1107/podstatus
Browse files Browse the repository at this point in the history
Debugging message for debugging #4500
  • Loading branch information
yujuhong committed Feb 18, 2015
2 parents 8022c74 + 34df171 commit 9e291fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ func podsOnMinions(c *client.Client, pods api.PodList) wait.ConditionFunc {
return func() (bool, error) {
for i := range pods.Items {
host, id, namespace := pods.Items[i].Status.Host, pods.Items[i].Name, pods.Items[i].Namespace
glog.Infof("Check whether pod %s.%s exists on node %q", id, namespace, host)
if len(host) == 0 {
glog.Infof("Pod %s.%s is not bound to a host yet", id, namespace)
return false, nil
}
if _, err := podInfo.GetPodStatus(host, namespace, id); err != nil {
Expand Down

0 comments on commit 9e291fb

Please sign in to comment.