mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 17:54:07 +01:00
Add agent no-schedule flag (#1567)
This flag allows an agent owner / admin to stop the agent from taking new workflows / pipelines.
This commit is contained in:
@@ -26,6 +26,7 @@ type Agent struct {
|
||||
Backend string `json:"backend" xorm:"VARCHAR(100)"`
|
||||
Capacity int32 `json:"capacity"`
|
||||
Version string `json:"version"`
|
||||
NoSchedule bool `json:"no_schedule"`
|
||||
}
|
||||
|
||||
// TableName return database table name for xorm
|
||||
|
||||
Reference in New Issue
Block a user