Skip to content

Commit

Permalink
Resolves #404 - Add template support for attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-r-west committed Aug 11, 2024
1 parent 2eb6572 commit 1dc26a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external/templates/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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
}

Expand Down

0 comments on commit 1dc26a3

Please sign in to comment.