update pkg

This commit is contained in:
Mikaël Cluseau 2018-06-20 07:40:30 +11:00
parent 6090d31e2c
commit b223bcd530
3 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -4,5 +4,5 @@ require (
github.com/cavaliercoder/go-cpio v0.0.0-20180222193108-9caab6ff29df
github.com/cloudflare/cfssl v0.0.0-20180530085446-275fb308ac70
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
novit.nc/direktil/pkg v0.0.0-20180617064658-ec3736cedc38
novit.nc/direktil/pkg v0.0.0-20180619202319-3b512e61055e
)

View File

@ -149,7 +149,7 @@ func (t *Template) Execute(wr io.Writer, data interface{}, extraFuncs map[string
templateFuncs[name] = f
}
tmpl, err := template.New("tmpl").
tmpl, err := template.New(t.Name).
Funcs(templateFuncs).
Parse(t.Template)
if err != nil {

2
vendor/vgo.list vendored
View File

@ -57,7 +57,7 @@ golang.org/x/sync/errgroup
gopkg.in/check.v1
# gopkg.in/yaml.v2 v2.2.1
gopkg.in/yaml.v2
# novit.nc/direktil/pkg v0.0.0-20180617064658-ec3736cedc38
# novit.nc/direktil/pkg v0.0.0-20180619202319-3b512e61055e
novit.nc/direktil/pkg/cas
novit.nc/direktil/pkg/clustersconfig
novit.nc/direktil/pkg/config