fix lint issues after update

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-10-19 12:31:24 +02:00
parent 6e5aefbb98
commit 503d483731
11 changed files with 28 additions and 51 deletions

View File

@ -80,8 +80,8 @@ func (w *containerWorker) New(ctx context.Context, cfg *integration.BackendConfi
}
func (w *containerWorker) Close() error {
if close := w.dockerClose; close != nil {
return close()
if c := w.dockerClose; c != nil {
return c()
}
// reset the worker to be ready to go again