prow/tide/history/history.go
func (h *History) Record(poolKey, action, baseSHA, err string, targets []prowapi.Pull) {
	t := now()
	sort.Sort(ByNum(targets))
	h.addRecord(
		poolKey,
		&Record{
			Time:    t,
			Action:  action,
			BaseSHA: baseSHA,
			Target:  targets,
			Err:     err,
		},
	)
}
func (h *History) Record(poolKey, action, baseSHA, err string, targets []prowapi.Pull) {
	t := now()
	sort.Sort(ByNum(targets))
	h.addRecord(
		poolKey,
		&Record{
			Time:    t,
			Action:  action,
			BaseSHA: baseSHA,
			Target:  targets,
			Err:     err,
		},
	)
}
func ( h * History ) Record ( poolKey , action , baseSHA , err string , targets [ ] prowapi . Pull ) { t := now ( ) sort . Sort ( ByNum ( targets ) ) h . addRecord ( poolKey , & Record { Time : t , Action : action , BaseSHA : baseSHA , Target : targets , Err : err , } , ) }
// Record appends an entry to the recordlog specified by the poolKey.
Record appends an entry to the recordlog specified by the poolKey .