diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2024-05-29 20:36:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-29 20:36:24 -0400 |
| commit | 95a06b9fc94c44af51588379c4e443e986b7e4d5 (patch) | |
| tree | c17f08a12c020ef45302800d778d02ee18bfcc24 /gomplate.go | |
| parent | 362f058f0c93900c7bd7462aac200597e70ebfb7 (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.go | 2 |
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 } |
