summaryrefslogtreecommitdiff
path: root/gomplate.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-05-29 20:36:24 -0400
committerGitHub <noreply@github.com>2024-05-29 20:36:24 -0400
commit95a06b9fc94c44af51588379c4e443e986b7e4d5 (patch)
treec17f08a12c020ef45302800d778d02ee18bfcc24 /gomplate.go
parent362f058f0c93900c7bd7462aac200597e70ebfb7 (diff)
chore!: Replacing the data.Data type with a datasource registry (#2083)
* chore!: Replacing the data.Data type with a datasource registry Signed-off-by: Dave Henderson <dhenderson@gmail.com> * chore(lint): fix lint warning Signed-off-by: Dave Henderson <dhenderson@gmail.com> --------- Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'gomplate.go')
-rw-r--r--gomplate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gomplate.go b/gomplate.go
index a2567b53..1e27f253 100644
--- a/gomplate.go
+++ b/gomplate.go
@@ -86,7 +86,7 @@ func simpleNamer(outDir string) func(ctx context.Context, inPath string) (string
func mappingNamer(outMap string, tr *Renderer) func(context.Context, string) (string, error) {
return func(ctx context.Context, inPath string) (string, error) {
- tcontext, err := createTmplContext(ctx, tr.tctxAliases, tr.data)
+ tcontext, err := createTmplContext(ctx, tr.tctxAliases, tr.sr)
if err != nil {
return "", err
}