Update staticcheck for golang v1.25 compatibility

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2026-03-10 20:03:08 -06:00
committed by Christian Goll
parent 081d2ec61e
commit cea25f5a87
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ $(GOLANG_LICENSES):
GOBIN="$(PWD)/$(TOOLS_BIN)" go install github.com/google/go-licenses@v1.6.0
$(GOLANG_STATICCHECK):
GOBIN="$(PWD)/$(TOOLS_BIN)" go install honnef.co/go/tools/cmd/staticcheck@v0.5.1
GOBIN="$(PWD)/$(TOOLS_BIN)" go install honnef.co/go/tools/cmd/staticcheck@v0.7.0
.PHONY: cleantools
cleantools:

View File

@@ -22,8 +22,8 @@ import (
"github.com/coreos/go-systemd/daemon"
"github.com/google/uuid"
"github.com/opencontainers/selinux/go-selinux"
"github.com/spf13/cobra"
"github.com/siderolabs/go-smbios/smbios"
"github.com/spf13/cobra"
warewulfconf "github.com/warewulf/warewulf/internal/pkg/config"
"github.com/warewulf/warewulf/internal/pkg/pidfile"
"github.com/warewulf/warewulf/internal/pkg/version"