Remove extra format in kubectl describe

pull/6/head
Deyuan Deng 2015-01-27 15:45:55 -05:00
parent ce25cf0b9a
commit 1330cc340b
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ func describeEvents(el *api.EventList, w io.Writer) {
sort.Sort(SortableEvents(el.Items))
fmt.Fprint(w, "Events:\nTime\tFrom\tSubobjectPath\tReason\tMessage\n")
for _, e := range el.Items {
fmt.Fprintf(w, "%s\t%v\t%v\t%v\t%v\t%v\n",
fmt.Fprintf(w, "%s\t%v\t%v\t%v\t%v\n",
e.Timestamp.Time.Format(time.RFC1123Z),
e.Source,
e.InvolvedObject.FieldPath,