Skip to content

Commit

Permalink
namespace custom template module
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jun 29, 2021
1 parent ffb5ca5 commit a3e121c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clab/config/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/kellerza/template"
jT "github.com/kellerza/template"

log "github.com/sirupsen/logrus"
"github.com/srl-labs/containerlab/types"
Expand Down Expand Up @@ -36,7 +36,7 @@ func RenderAll(nodes map[string]*types.NodeConfig, links map[int]*types.Link) (m
return nil, fmt.Errorf("please specify one of more paths with --template-path")
}

tmpl, err := template.New("", template.SearchPath(TemplatePaths...))
tmpl, err := jT.New("", jT.SearchPath(TemplatePaths...))
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a3e121c

Please sign in to comment.