You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-23 21:44:44 +02:00
Make agent usable for external backends (#3270)
This commit is contained in:
@@ -66,6 +66,10 @@ func (e *local) IsAvailable(context.Context) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (e *local) Flags() []cli.Flag {
|
||||
return Flags
|
||||
}
|
||||
|
||||
func (e *local) Load(ctx context.Context) (*types.BackendInfo, error) {
|
||||
c, ok := ctx.Value(types.CliContext).(*cli.Context)
|
||||
if ok {
|
||||
|
||||
Reference in New Issue
Block a user