Merge pull request #1275 from mlaventure/travis-ineffassign

Enable ineffassign in CI
This commit is contained in:
Michael Crosby
2017-08-07 09:21:53 -04:00
committed by GitHub
7 changed files with 20 additions and 12 deletions

View File

@@ -87,7 +87,7 @@ func appContext(clicontext *cli.Context) (gocontext.Context, gocontext.CancelFun
ctx = gocontext.Background()
timeout = clicontext.GlobalDuration("timeout")
namespace = clicontext.GlobalString("namespace")
cancel = func() {}
cancel gocontext.CancelFunc
)
ctx = namespaces.WithNamespace(ctx, namespace)