mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 15:29:28 +01:00
fix(runners): return empty array not null
This commit is contained in:
parent
780926cc02
commit
66d5514a2f
@ -11,6 +11,7 @@ func (d *SqlDb) GetRunner(projectID int, runnerID int) (runner db.Runner, err er
|
||||
}
|
||||
|
||||
func (d *SqlDb) GetRunners(projectID int, activeOnly bool) (runners []db.Runner, err error) {
|
||||
runners = make([]db.Runner, 0)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user