mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Remove extra format in kubectl describe
This commit is contained in:
parent
ce25cf0b9a
commit
1330cc340b
@ -202,7 +202,7 @@ func describeEvents(el *api.EventList, w io.Writer) {
|
|||||||
sort.Sort(SortableEvents(el.Items))
|
sort.Sort(SortableEvents(el.Items))
|
||||||
fmt.Fprint(w, "Events:\nTime\tFrom\tSubobjectPath\tReason\tMessage\n")
|
fmt.Fprint(w, "Events:\nTime\tFrom\tSubobjectPath\tReason\tMessage\n")
|
||||||
for _, e := range el.Items {
|
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.Timestamp.Time.Format(time.RFC1123Z),
|
||||||
e.Source,
|
e.Source,
|
||||||
e.InvolvedObject.FieldPath,
|
e.InvolvedObject.FieldPath,
|
||||||
|
Loading…
Reference in New Issue
Block a user