Add a line break when no events in describe

This commit is contained in:
Fabiano Franz 2016-08-25 17:19:17 -03:00
parent 8f0109ea21
commit 45290af23a

View File

@ -2129,7 +2129,7 @@ func getPodsTotalRequestsAndLimits(podList *api.PodList) (reqs map[api.ResourceN
func DescribeEvents(el *api.EventList, w io.Writer) {
if len(el.Items) == 0 {
fmt.Fprint(w, "No events.")
fmt.Fprint(w, "No events.\n")
return
}
sort.Sort(SortableEvents(el.Items))