From ec1c69ce9f07b43504991643753587d7338346ea Mon Sep 17 00:00:00 2001 From: Peter Grlica Date: Thu, 28 Oct 2021 11:05:15 +0200 Subject: [PATCH] Renamed templates render workflow handler --- system/automation/templates_handler.gen.go | 4 ++-- system/automation/templates_handler.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/automation/templates_handler.gen.go b/system/automation/templates_handler.gen.go index fefeaef7b..921271f53 100644 --- a/system/automation/templates_handler.gen.go +++ b/system/automation/templates_handler.gen.go @@ -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{ diff --git a/system/automation/templates_handler.yaml b/system/automation/templates_handler.yaml index a8b64fdc8..58d0874a4 100644 --- a/system/automation/templates_handler.yaml +++ b/system/automation/templates_handler.yaml @@ -139,7 +139,7 @@ functions: render: meta: - short: Render template + short: Template render labels: <<: *labels render: "step"