cmd/ctr/app: remove redundant package name

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2018-03-21 16:46:48 -07:00
parent 4c8bbb55b7
commit 903ee88368
3 changed files with 6 additions and 6 deletions

View File

@@ -20,14 +20,14 @@ import (
"fmt"
"os"
"github.com/containerd/containerd/cmd/ctr/command"
"github.com/containerd/containerd/cmd/ctr/app"
"github.com/urfave/cli"
)
var pluginCmds = []cli.Command{}
func main() {
app := command.App()
app := app.New()
app.Commands = append(app.Commands, pluginCmds...)
if err := app.Run(os.Args); err != nil {
fmt.Fprintf(os.Stderr, "ctr: %s\n", err)