Skip to content

Commit c2ada99

Browse files
committed
Fix extend template
1 parent def4abd commit c2ada99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func extendTemplate(ctx context.Context, rawTemplates []option.Template, root, c
4545
if err != nil {
4646
return option.Template{}, E.Cause(err, "initialize template[", current.Name, "]: merge extended template: ", current.Extend)
4747
}
48-
newTemplate, err := json.UnmarshalExtended[option.Template](newRawTemplate)
48+
newTemplate, err := json.UnmarshalExtendedContext[option.Template](ctx, newRawTemplate)
4949
if err != nil {
5050
return option.Template{}, E.Cause(err, "initialize template[", current.Name, "]: unmarshal extended template: ", current.Extend)
5151
}

0 commit comments

Comments
 (0)