3
0

Renamed templates render workflow handler

This commit is contained in:
Peter Grlica
2021-10-28 11:05:15 +02:00
committed by Denis Arh
parent 351a9b6c1c
commit ec1c69ce9f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -761,7 +761,7 @@ func (a templatesRenderArgs) GetLookup() (bool, uint64, string, *types.Template)
return a.hasLookup, a.lookupID, a.lookupHandle, a.lookupRes
}
// Render function Render template
// Render function Template render
//
// expects implementation of render function:
// func (h templatesHandler) render(ctx context.Context, args *templatesRenderArgs) (results *templatesRenderResults, err error) {
@@ -773,7 +773,7 @@ func (h templatesHandler) Render() *atypes.Function {
Kind: "function",
Labels: map[string]string{"render": "step", "templates": "step,workflow"},
Meta: &atypes.FunctionMeta{
Short: "Render template",
Short: "Template render",
},
Parameters: []*atypes.Param{
+1 -1
View File
@@ -139,7 +139,7 @@ functions:
render:
meta:
short: Render template
short: Template render
labels:
<<: *labels
render: "step"