Merge pull request #5112 from rickard-von-essen/checksum-interpolate
post-processor/checksum: properly interpolate output
This commit is contained in:
commit
6ac6b237aa
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user