Fix stepLimit param in Starlark and Template OSS code
This commit is contained in:
parent
794bdb1c56
commit
b072d38a63
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue