Skip to content

Commit

Permalink
feat: allow filesystem in rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilgdn committed Dec 30, 2022
1 parent a01d79e commit 0566810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func RenderJob(templateFile string, variableFiles []string, addr string, flagVar
return jobspec2.ParseWithConfig(&jobspec2.ParseConfig{
Path: templateFile,
Body: tpl.Bytes(),
AllowFS: false,
AllowFS: true,
Strict: true,
})
}
Expand Down

0 comments on commit 0566810

Please sign in to comment.