Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/rancher-machine/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/rancher/machine/libmachine/drivers/plugin/localbinary"
"github.com/rancher/machine/libmachine/log"
"github.com/rancher/machine/version"
"github.com/urfave/cli"
"github.com/urfave/cli/v3"
)

var AppHelpTemplate = `Usage: {{.Name}} {{if .Flags}}[OPTIONS] {{end}}COMMAND [arg...]
Expand Down
2 changes: 1 addition & 1 deletion commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/rancher/machine/libmachine/mcnutils"
"github.com/rancher/machine/libmachine/persist"
"github.com/rancher/machine/libmachine/ssh"
"github.com/urfave/cli"
"github.com/urfave/cli/v3"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion commands/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/rancher/machine/libmachine/provision"
"github.com/rancher/machine/libmachine/state"
"github.com/stretchr/testify/assert"
"github.com/urfave/cli"
"github.com/urfave/cli/v3"
)

func TestGetFlagValue(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion commands/commandstest/fake_command_line.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package commandstest

import (
"github.com/urfave/cli"
"github.com/urfave/cli/v3"
)

type FakeFlagger struct {
Expand Down Expand Up @@ -87,12 +87,12 @@
fcli.HelpShown = true
}

func (fcli *FakeCommandLine) Application() *cli.App {

Check failure on line 90 in commands/commandstest/fake_command_line.go

View workflow job for this annotation

GitHub Actions / tests

undefined: cli.App
return cli.NewApp()

Check failure on line 91 in commands/commandstest/fake_command_line.go

View workflow job for this annotation

GitHub Actions / tests

undefined: cli.NewApp
}

func (fcli *FakeCommandLine) Args() cli.Args {
return fcli.CliArgs

Check failure on line 95 in commands/commandstest/fake_command_line.go

View workflow job for this annotation

GitHub Actions / tests

cannot use fcli.CliArgs (variable of type []string) as cli.Args value in return statement: []string does not implement cli.Args (missing method First)
}

func (fcli *FakeCommandLine) ShowVersion() {
Expand Down
2 changes: 1 addition & 1 deletion commands/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/rancher/machine/libmachine/mcnerror"
"github.com/rancher/machine/libmachine/mcnflag"
"github.com/rancher/machine/libmachine/swarm"
"github.com/urfave/cli"
"github.com/urfave/cli/v3"
"gopkg.in/yaml.v2"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/flag_sort.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package commands

import "github.com/urfave/cli"
import "github.com/urfave/cli/v3"

type ByFlagName []cli.Flag

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (
github.com/samalba/dockerclient v0.0.0-20160531175551-a30362618471
github.com/skarademir/naturalsort v0.0.0-20150715044055-69a5d87bef62
github.com/stretchr/testify v1.10.0
github.com/urfave/cli v1.22.15
github.com/urfave/cli/v3 v3.3.3
github.com/vmware/govcloudair v0.0.2
github.com/vmware/govmomi v0.42.0
golang.org/x/crypto v0.33.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOf
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/tent/http-link-go v0.0.0-20130702225549-ac974c61c2f9 h1:/Bsw4C+DEdqPjt8vAqaC9LAqpAQnaCQQqmolqq3S1T4=
github.com/tent/http-link-go v0.0.0-20130702225549-ac974c61c2f9/go.mod h1:RHkNRtSLfOK7qBTHaeSX1D6BNpI3qw7NTxsmNr4RvN8=
github.com/urfave/cli v1.11.1-0.20151120215642-0302d3914d2a h1:i6gus1o4iDkjlzGJCIvhbKmyk6zeIhIqgdSOcJi493g=
github.com/urfave/cli v1.11.1-0.20151120215642-0302d3914d2a/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
github.com/urfave/cli/v3 v3.3.3 h1:byCBaVdIXuLPIDm5CYZRVG6NvT7tv1ECqdU4YzlEa3I=
github.com/urfave/cli/v3 v3.3.3/go.mod h1:FJSKtM/9AiiTOJL4fJ6TbMUkxBXn7GO9guZqoZtpYpo=
github.com/vmware/govcloudair v0.0.2 h1:ki01OjlgpEWyEc7iZTTaWW9tISSWafiqj/PHLPB4Iwc=
github.com/vmware/govcloudair v0.0.2/go.mod h1:Vxktpba+eP4dX5YzYP869DRPSm5ChQ2A/GUrmKSLvlo=
github.com/vmware/govmomi v0.42.0 h1:MbvAlVfjNBE1mHMaQ7yOSop1KLB0/93x6VAGuCtjqtI=
Expand Down
Loading