update golangci-lint to 1.60.1

Fixes new spotted issues around printf() formats and using os.Setenv()
in tests.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2024-08-14 13:14:02 +02:00
parent 5f069d8742
commit c17daf2b09
10 changed files with 16 additions and 15 deletions

View File

@ -411,7 +411,7 @@ func (c *Container) execPSinContainer(args []string) ([]string, error) {
if logrus.GetLevel() >= logrus.DebugLevel {
// If we're running in debug mode or higher, we might want to have a
// look at stderr which includes debug logs from conmon.
logrus.Debugf(errBuf.String())
logrus.Debug(errBuf.String())
}
if err := <-outErrChan; err != nil {