robots/issue-creator/sources/triage-filer.go
func (c *Cluster) Labels() []string {
	labels := []string{"kind/flake"}

	topTests := make([]string, len(c.Tests))
	for i, test := range c.topTestsFailed(len(c.Tests)) {
		topTests[i] = test.Name
	}
	for sig := range c.filer.creator.TestsSIGs(topTests) {
		labels = append(labels, "sig/"+sig)
	}

	return labels
}
func (c *Cluster) Labels() []string {
	labels := []string{"kind/flake"}

	topTests := make([]string, len(c.Tests))
	for i, test := range c.topTestsFailed(len(c.Tests)) {
		topTests[i] = test.Name
	}
	for sig := range c.filer.creator.TestsSIGs(topTests) {
		labels = append(labels, "sig/"+sig)
	}

	return labels
}
func ( c * Cluster ) Labels ( ) [ ] string { labels := [ ] string { " " } topTests := make ( [ ] string , len ( c . Tests ) ) for i , test := range c . topTestsFailed ( len ( c . Tests ) ) { topTests [ i ] = test . Name } for sig := range c . filer . creator . TestsSIGs ( topTests ) { labels = append ( labels , " " + sig ) } return labels }
// Labels returns the labels to apply to the issue created for this cluster on github.
Labels returns the labels to apply to the issue created for this cluster on github .