diff --git a/internal/pkg/agent/application/coordinator/coordinator.go b/internal/pkg/agent/application/coordinator/coordinator.go index 4033f9d6cb7..3c899735da7 100644 --- a/internal/pkg/agent/application/coordinator/coordinator.go +++ b/internal/pkg/agent/application/coordinator/coordinator.go @@ -1414,7 +1414,7 @@ func (c *Coordinator) generateComponentModel() (err error) { c.setComponentGenError(err) }() - ast := c.ast.Clone() + ast := c.ast.ShallowClone() inputs, ok := transpiler.Lookup(ast, "inputs") if ok { renderedInputs, err := transpiler.RenderInputs(inputs, c.vars)