mirror of https://github.com/k3s-io/k3s.git
Remove extra format in kubectl describe
parent
ce25cf0b9a
commit
1330cc340b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue