Add a line break when no events in describe
This commit is contained in:
		@@ -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))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user