Semaphore/db/sql/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
442 B
Go

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