Bump to go1.22 (#594)

This commit is contained in:
Itxaka
2024-07-11 14:06:55 +02:00
committed by GitHub
parent 884d2dbe08
commit 95e823aa15
7 changed files with 87 additions and 337 deletions

View File

@@ -96,7 +96,7 @@ The validate command expects a configuration file as its only argument. Local fi
var VersionCMD = cli.Command{
Name: "version",
Action: func(c *cli.Context) error {
Action: func(_ *cli.Context) error {
printVersion()
return nil
},
@@ -110,7 +110,7 @@ func printVersion() {
func Start() error {
toolName := "kairos"
cli.VersionPrinter = func(cCtx *cli.Context) {
cli.VersionPrinter = func(_ *cli.Context) {
printVersion()
}