multi: update linter, fix new issues

This commit is contained in:
Oliver Gugger committed 2024-08-20 19:14:44 +02:00
1 parent 9eef428e77
commit e99e6662cf
21 files changed
+453 -441

No files matched your search

+1 -3
View File
@@ -6,7 +6,6 @@ import (
"crypto/rand"
"encoding/hex"
"encoding/json"
"errors"
"fmt"
"io"
"os"
@@ -661,8 +660,7 @@ func (hn *HarnessNode) WaitForProcessExit() error {
break
case <-time.After(wait.DefaultTimeout):
err = errors.New("timeout waiting for process to exit")
hn.printErrf(err.Error())
hn.printErrf("timeout waiting for process to exit")
}
// Make sure log file is closed and renamed if necessary.