api/trackers: fix fmt.Errorf arguments
Fixes the following: api/trackers/import.go:340:13: fmt.Errorf call needs 1 arg but has 2 args
This commit is contained in:
parent
d8cf6aed69
commit
366713a3c2
|
@ -337,7 +337,7 @@ func importTrackerDump(ctx context.Context, trackerID int, dump io.Reader, ourUp
|
|||
eventType |= eventTypeMap[etype]
|
||||
}
|
||||
if eventType == 0 {
|
||||
return fmt.Errorf("failed to import ticket #%d: invalid ticket event", ticket.ID, eventType)
|
||||
return fmt.Errorf("failed to import ticket #%d: invalid ticket event", ticket.ID)
|
||||
}
|
||||
|
||||
if event.Participant != nil {
|
||||
|
|
Loading…
Reference in New Issue