Skip to content

Commit

Permalink
Merge pull request #6127 from yujuhong/sethost
Browse files Browse the repository at this point in the history
Kubelet: set host field in the pending pod status
  • Loading branch information
vmarmol committed Mar 28, 2015
2 parents 320df1d + 372c5c9 commit 76b5b79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubelet/kubelet.go
Expand Up @@ -1904,6 +1904,7 @@ func (kl *Kubelet) generatePodStatusByPod(pod *api.Pod) (api.PodStatus, error) {
} else {
pendingStatus := api.PodStatus{
Phase: api.PodPending,
Host: kl.GetHostname(),
Message: fmt.Sprintf("Query docker container info failed with error (%v)", err),
}
return pendingStatus, nil
Expand Down

0 comments on commit 76b5b79

Please sign in to comment.