Add IP to hostname in cloudcfg printing.

pull/6/head
Brendan Burns 2014-06-18 15:25:47 -07:00
parent 28f9dfafb3
commit b3f0e1724d
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ func (h *HumanReadablePrinter) makeLabelsList(labels map[string]string) string {
func (h *HumanReadablePrinter) printPod(pod api.Pod, w io.Writer) error {
_, err := fmt.Fprintf(w, "%s\t%s\t%s\t%s\n",
pod.ID, h.makeImageList(pod.DesiredState.Manifest), pod.CurrentState.Host, h.makeLabelsList(pod.Labels))
pod.ID, h.makeImageList(pod.DesiredState.Manifest), pod.CurrentState.Host+"/"+pod.CurrentState.HostIP, h.makeLabelsList(pod.Labels))
return err
}