Fix ineffassign warnings

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure
2017-08-01 14:42:41 -07:00
parent 789330033a
commit 829845d268
5 changed files with 11 additions and 5 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)