fix lint error
This commit is contained in:
parent
bcf4e768ff
commit
d3495f874e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user