Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 4082f4a

Browse files
authored
Merge pull request #502 from laijs/urfave
Replace github.com/codegangsta/cli with github.com/urfave/cli
2 parents 82ddcae + 272983b commit 4082f4a

33 files changed

+28
-29
lines changed

Godeps/Godeps.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

containerd/containerd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"syscall"
1212
"time"
1313

14-
"github.com/codegangsta/cli"
1514
"github.com/golang/glog"
1615
"github.com/hyperhq/runv/containerd/api/grpc/server"
1716
"github.com/hyperhq/runv/containerd/api/grpc/types"
@@ -22,6 +21,7 @@ import (
2221
"github.com/hyperhq/runv/hypervisor"
2322
"github.com/hyperhq/runv/supervisor"
2423
templatecore "github.com/hyperhq/runv/template"
24+
"github.com/urfave/cli"
2525
"google.golang.org/grpc"
2626
"google.golang.org/grpc/health"
2727
"google.golang.org/grpc/health/grpc_health_v1"

create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import (
1010
"syscall"
1111
"time"
1212

13-
"github.com/codegangsta/cli"
1413
"github.com/hyperhq/runv/containerd/api/grpc/types"
1514
"github.com/kardianos/osext"
1615
"github.com/kr/pty"
1716
"github.com/opencontainers/runtime-spec/specs-go"
17+
"github.com/urfave/cli"
1818
netcontext "golang.org/x/net/context"
1919
)
2020

exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
"strconv"
99
"strings"
1010

11-
"github.com/codegangsta/cli"
1211
"github.com/hyperhq/runv/containerd/api/grpc/types"
1312
"github.com/hyperhq/runv/lib/term"
1413
"github.com/opencontainers/runtime-spec/specs-go"
14+
"github.com/urfave/cli"
1515
netcontext "golang.org/x/net/context"
1616
)
1717

kill.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"strings"
99
"syscall"
1010

11-
"github.com/codegangsta/cli"
1211
"github.com/hyperhq/runv/containerd/api/grpc/types"
1312
"github.com/hyperhq/runv/lib/linuxsignal"
13+
"github.com/urfave/cli"
1414
netcontext "golang.org/x/net/context"
1515
)
1616

list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"text/tabwriter"
1010
"time"
1111

12-
"github.com/codegangsta/cli"
1312
"github.com/opencontainers/runtime-spec/specs-go"
13+
"github.com/urfave/cli"
1414
)
1515

1616
const formatOptions = `table or json`

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import (
99
"os"
1010
"time"
1111

12-
"github.com/codegangsta/cli"
1312
"github.com/docker/docker/pkg/reexec"
1413
"github.com/golang/protobuf/ptypes"
1514
"github.com/hyperhq/runv/containerd"
1615
"github.com/hyperhq/runv/containerd/api/grpc/types"
1716
_ "github.com/hyperhq/runv/supervisor/proxy" // for proxy.init()
17+
"github.com/urfave/cli"
1818
netcontext "golang.org/x/net/context"
1919
"google.golang.org/grpc"
2020
"google.golang.org/grpc/grpclog"

manage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"path/filepath"
88
"syscall"
99

10-
"github.com/codegangsta/cli"
1110
"github.com/golang/glog"
1211
"github.com/hyperhq/runv/driverloader"
1312
"github.com/hyperhq/runv/hypervisor"
1413
templatecore "github.com/hyperhq/runv/template"
14+
"github.com/urfave/cli"
1515
)
1616

1717
var manageSubCmds = []cli.Command{

run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/codegangsta/cli"
4+
"github.com/urfave/cli"
55
)
66

77
var runCommand = cli.Command{

shim.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"path/filepath"
88
"syscall"
99

10-
"github.com/codegangsta/cli"
1110
"github.com/golang/glog"
1211
"github.com/hyperhq/runv/containerd/api/grpc/types"
1312
"github.com/hyperhq/runv/lib/term"
13+
"github.com/urfave/cli"
1414
"golang.org/x/net/context"
1515
)
1616

0 commit comments

Comments
 (0)