From 1dc26a36037d54ce99a537399e5b3295f2ecf85e Mon Sep 17 00:00:00 2001 From: Steve Ramage Date: Sun, 11 Aug 2024 15:22:36 -0700 Subject: [PATCH] Resolves #404 - Add template support for attributes --- external/templates/template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/templates/template.go b/external/templates/template.go index f6554dd..2c3acdb 100644 --- a/external/templates/template.go +++ b/external/templates/template.go @@ -27,7 +27,7 @@ func Render(templateString string) string { }).Parse(templateString) if err != nil { - log.Warn("Could not process argument template: %s, due to %v", templateString, err) + log.Warnf("Could not process argument template: %s, due to %v", templateString, err) return templateString } @@ -36,7 +36,7 @@ func Render(templateString string) string { err = tpl.Execute(&renderedTpl, nil) if err != nil { - log.Warn("Could not process argument template: %s, due to %v", templateString, err) + log.Warnf("Could not process argument template: %s, due to %v", templateString, err) return templateString }