Update linter for golang v1.25 compatibility
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
committed by
Christian Goll
parent
019408d076
commit
081d2ec61e
@@ -4,7 +4,6 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/warewulf/warewulf/internal/pkg/api/routes/wwapiv1"
|
||||
"github.com/warewulf/warewulf/internal/pkg/version"
|
||||
)
|
||||
|
||||
@@ -12,7 +11,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
|
||||
fmt.Println("wwctl version:\t", version.GetVersion())
|
||||
|
||||
var wwVersionResponse *wwapiv1.VersionResponse = version.Version()
|
||||
wwVersionResponse := version.Version()
|
||||
fmt.Println("rpc version:", wwVersionResponse.String())
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user