From 003731ace953e0c840cc417a584022d7c4612738 Mon Sep 17 00:00:00 2001 From: ben-toogood Date: Wed, 3 Jun 2020 09:48:19 +0100 Subject: [PATCH] Fix incorrect namespace variable name (merge conflict) (#1677) --- config/cmd/cmd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cmd/cmd.go b/config/cmd/cmd.go index d22034b9..51ffaad5 100644 --- a/config/cmd/cmd.go +++ b/config/cmd/cmd.go @@ -540,8 +540,8 @@ func (c *cmd) Before(ctx *cli.Context) error { if len(ctx.String("auth_private_key")) > 0 { authOpts = append(authOpts, auth.PrivateKey(ctx.String("auth_private_key"))) } - if len(ctx.String("service_namespace")) > 0 { - authOpts = append(authOpts, auth.Namespace(ctx.String("service_namespace"))) + if len(ctx.String("auth_namespace")) > 0 { + authOpts = append(authOpts, auth.Namespace(ctx.String("auth_namespace"))) } if name := ctx.String("auth_provider"); len(name) > 0 { p, ok := DefaultAuthProviders[name]