Skip to content

Commit

Permalink
Update clab/config/template.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerza committed Jul 6, 2021
1 parent 9fda42a commit a2f0247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clab/config/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func RenderAll(nodes map[string]nodes.Node, links map[int]*types.Link) (map[stri
}

var buf strings.Builder
err := tmpl.Lookup(tmplN).Execute(&buf, vars)
err := tmpl.ExecutTemplate(&buf, tmplN, vars)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a2f0247

Please sign in to comment.