Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gardener/docforge
Browse files Browse the repository at this point in the history
  • Loading branch information
g-pavlov committed Nov 25, 2020
2 parents f556894 + 4f05694 commit b326aa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.8.0-dev
v0.9.0-dev
4 changes: 3 additions & 1 deletion cmd/app/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ func resolveVariables(manifestContent []byte, vars map[string]string) ([]byte, e
err error
b bytes.Buffer
)
if tmpl, err = template.New("").Parse(string(manifestContent)); err != nil {
tplFuncMap := make(template.FuncMap)
tplFuncMap["Split"] = strings.Split
if tmpl, err = template.New("").Funcs(tplFuncMap).Parse(string(manifestContent)); err != nil {
return nil, err
}
if err := tmpl.Execute(&b, vars); err != nil {
Expand Down

0 comments on commit b326aa5

Please sign in to comment.