Update staticcheck for golang v1.25 compatibility
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
committed by
Christian Goll
parent
081d2ec61e
commit
cea25f5a87
2
Tools.mk
2
Tools.mk
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user