fix lint error
Some checks failed
Lint / golangci-lint (push) Failing after 10m11s
Declarative Tests / test (push) Failing after 7s
Declarative Tests / build-fedora (push) Failing after 1m46s
Declarative Tests / build-ubuntu-focal (push) Failing after 1m30s

This commit is contained in:
Matthew Rich 2024-07-22 15:26:09 -07:00
parent bcf4e768ff
commit d3495f874e

View File

@ -133,9 +133,7 @@ func (x *Exec) Type() string { return "exec" }
func (x *Exec) Create(ctx context.Context) (err error) {
x.CreateTemplate.Defaults()
if _, err = x.CreateTemplate.Execute(x); err == nil {
}
_, err = x.CreateTemplate.Execute(x)
return err
}