Semaphore/db/bolt/runner.go
Denis Gukov e43af6b493
Some checks are pending
Dev / build-local (push) Waiting to run
Dev / migrate-boltdb (push) Blocked by required conditions
Dev / migrate-mysql (push) Blocked by required conditions
Dev / migrate-mariadb (push) Blocked by required conditions
Dev / migrate-postgres (push) Blocked by required conditions
Dev / integrate-boltdb (push) Blocked by required conditions
Dev / integrate-mysql (push) Blocked by required conditions
Dev / integrate-mariadb (push) Blocked by required conditions
Dev / integrate-postgres (push) Blocked by required conditions
Dev / deploy-server (push) Blocked by required conditions
Dev / deploy-runner (push) Blocked by required conditions
fix(runner): return empty array instead of null for boltdb
2024-11-22 17:14:16 +05:00

23 lines
446 B
Go

//go:build !pro
package bolt
import (
"github.com/semaphoreui/semaphore/db"
)
func (d *BoltDb) GetRunner(projectID int, runnerID int) (runner db.Runner, err error) {
err = db.ErrNotFound
return
}
func (d *BoltDb) GetRunners(projectID int, activeOnly bool) (runners []db.Runner, err error) {
runners = make([]db.Runner, 0)
return
}
func (d *BoltDb) DeleteRunner(projectID int, runnerID int) (err error) {
err = db.ErrNotFound
return
}