mirror of
https://github.com/harness/drone.git
synced 2025-05-04 16:52:22 +08:00
Fix stepLimit param in Starlark and Template OSS code
This commit is contained in:
parent
794bdb1c56
commit
b072d38a63
@ -18,6 +18,6 @@ package converter
|
|||||||
|
|
||||||
import "github.com/drone/drone/core"
|
import "github.com/drone/drone/core"
|
||||||
|
|
||||||
func Starlark(enabled bool) core.ConvertService {
|
func Starlark(enabled bool, stepLimit uint64) core.ConvertService {
|
||||||
return new(noop)
|
return new(noop)
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/drone/drone/core"
|
"github.com/drone/drone/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Template(templateStore core.TemplateStore) core.ConvertService {
|
func Template(templateStore core.TemplateStore, stepLimit uint64) core.ConvertService {
|
||||||
return &templatePlugin{
|
return &templatePlugin{
|
||||||
templateStore: templateStore,
|
templateStore: templateStore,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user