Skip to content

Commit

Permalink
fix(compiler): bust template cache on Duplicate (#1249)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper authored Jan 30, 2025
1 parent 8f47ad9 commit abe0d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/native/native.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (c *client) Duplicate() compiler.Engine {
cc.CloneImage = c.CloneImage
cc.TemplateDepth = c.TemplateDepth
cc.StarlarkExecLimit = c.StarlarkExecLimit
cc.TemplateCache = c.TemplateCache
cc.TemplateCache = make(map[string][]byte)

return cc
}
Expand Down

0 comments on commit abe0d5f

Please sign in to comment.