From d3495f874e9db2ea01bb618ec3a045a1661aaee9 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Mon, 22 Jul 2024 15:26:09 -0700 Subject: [PATCH] fix lint error --- internal/resource/exec.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/resource/exec.go b/internal/resource/exec.go index afa7e4d..eacedf3 100644 --- a/internal/resource/exec.go +++ b/internal/resource/exec.go @@ -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 }