diff --git a/pkg/provisioner/templates/container-toolkit.go b/pkg/provisioner/templates/container-toolkit.go index 3d89e1f82..3c41dce1b 100644 --- a/pkg/provisioner/templates/container-toolkit.go +++ b/pkg/provisioner/templates/container-toolkit.go @@ -67,9 +67,5 @@ func (t *ContainerToolkit) Execute(tpl *bytes.Buffer, env v1alpha1.Environment) return fmt.Errorf("failed to execute container-toolkit template: %v", err) } - if err := containerTlktTemplate.Execute(tpl, t); err != nil { - return fmt.Errorf("failed to execute container-toolkit template: %v", err) - } - return nil }