// GetCondition returns a condition based on a type from a list of Conditions
GetCondition returns a condition based on a type from a list of Conditions
// GetCondition returns a condition based on a type from a list of Conditions
func (brs *BuildRunStatus) GetCondition(t Type) *Condition {
	for _, c := range brs.Conditions {
		if c.Type == t {
			return &c
		}
	}
	return nil
}
func ( brs * BuildRunStatus ) GetCondition ( t Type ) * Condition { for _ , c := range brs . Conditions { if c . Type == t { return & c } } return nil }
GetCondition returns a condition based on a type from a list of Conditions
GetCondition returns a condition based on a type from a list of Conditions