Commit 45290af2 authored by Fabiano Franz's avatar Fabiano Franz

Add a line break when no events in describe

parent 8f0109ea
...@@ -2129,7 +2129,7 @@ func getPodsTotalRequestsAndLimits(podList *api.PodList) (reqs map[api.ResourceN ...@@ -2129,7 +2129,7 @@ func getPodsTotalRequestsAndLimits(podList *api.PodList) (reqs map[api.ResourceN
func DescribeEvents(el *api.EventList, w io.Writer) { func DescribeEvents(el *api.EventList, w io.Writer) {
if len(el.Items) == 0 { if len(el.Items) == 0 {
fmt.Fprint(w, "No events.") fmt.Fprint(w, "No events.\n")
return return
} }
sort.Sort(SortableEvents(el.Items)) sort.Sort(SortableEvents(el.Items))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment