chore: simplify render mode
This commit is contained in:
parent
789497d94c
commit
f6f4e30fb5
8 changed files with 21 additions and 19 deletions
|
|
@ -30,7 +30,7 @@ func RenderInstance(class Class, other map[string]interface{}) (*Instance, error
|
|||
return nil, err
|
||||
}
|
||||
|
||||
b, _, err := tmpl.RenderResult(TemplateRenderModeInstance, other)
|
||||
b, _, err := tmpl.RenderResult(RenderModeInstance, other)
|
||||
if err != nil {
|
||||
return nil, util.NewConfigError(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue