prow/pubsub/reporter/reporter.go
func (c *Client) ShouldReport(pj *prowapi.ProwJob) bool {
	pubSubMap := findLabels(pj, PubSubProjectLabel, PubSubTopicLabel)
	return pubSubMap[PubSubProjectLabel] != "" && pubSubMap[PubSubTopicLabel] != ""
}
func (c *Client) ShouldReport(pj *prowapi.ProwJob) bool {
	pubSubMap := findLabels(pj, PubSubProjectLabel, PubSubTopicLabel)
	return pubSubMap[PubSubProjectLabel] != "" && pubSubMap[PubSubTopicLabel] != ""
}
func ( c * Client ) ShouldReport ( pj * prowapi . ProwJob ) bool { pubSubMap := findLabels ( pj , PubSubProjectLabel , PubSubTopicLabel ) return pubSubMap [ PubSubProjectLabel ] != " " && pubSubMap [ PubSubTopicLabel ] != " " }
// ShouldReport tells if a prowjob should be reported by this reporter
ShouldReport tells if a prowjob should be reported by this reporter