fix make vet failures, and enable make vet on CI

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2017-05-09 04:40:21 +00:00
parent 25a161bf5d
commit 837205005f
21 changed files with 58 additions and 76 deletions

3
cmd/dist/delete.go vendored
View File

@@ -22,10 +22,11 @@ var deleteCommand = cli.Command{
Flags: []cli.Flag{},
Action: func(context *cli.Context) error {
var (
ctx = background
args = []string(context.Args())
exitError error
)
ctx, cancel := appContext()
defer cancel()
conn, err := connectGRPC(context)
if err != nil {