Merge pull request #5112 from rickard-von-essen/checksum-interpolate

post-processor/checksum: properly interpolate output
This commit is contained in:
Rickard von Essen 2017-07-10 07:55:01 +02:00 committed by GitHub
commit 6ac6b237aa

View File

@ -57,9 +57,10 @@ func getHash(t string) hash.Hash {
func (p *PostProcessor) Configure(raws ...interface{}) error {
err := config.Decode(&p.config, &config.DecodeOpts{
Interpolate: true,
Interpolate: true,
InterpolateContext: &p.config.ctx,
InterpolateFilter: &interpolate.RenderFilter{
Exclude: []string{},
Exclude: []string{"output"},
},
}, raws...)
if err != nil {