Merge pull request #3141 from phil-davis/oss-fix-stepLimit

Fix stepLimit param in Starlark and Template OSS code
This commit is contained in:
TP Honey 2021-09-13 13:34:02 +01:00 committed by GitHub
commit 6367f8099e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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,
}