Fix stepLimit param in Starlark and Template OSS code

This commit is contained in:
Phil Davis 2021-09-13 11:12:18 +05:45
parent 794bdb1c56
commit b072d38a63
No known key found for this signature in database
GPG key ID: 23F482AD80551904
2 changed files with 2 additions and 2 deletions

View file

@ -18,6 +18,6 @@ package converter
import "github.com/drone/drone/core"
func Starlark(enabled bool) core.ConvertService {
func Starlark(enabled bool, stepLimit uint64) core.ConvertService {
return new(noop)
}

View file

@ -22,7 +22,7 @@ import (
"github.com/drone/drone/core"
)
func Template(templateStore core.TemplateStore) core.ConvertService {
func Template(templateStore core.TemplateStore, stepLimit uint64) core.ConvertService {
return &templatePlugin{
templateStore: templateStore,
}