fix(cli): Fixes incorrect variable reference

Because these were additions, git didn't pick up that the recent refactor of
env settings had changed some of the variables. This fixes those small changes

Signed-off-by: Taylor Thomas <taylor.thomas@microsoft.com>
This commit is contained in:
Taylor Thomas 2019-10-11 10:21:49 -06:00
parent ed90425ebb
commit 1123e5ca1f

View file

@ -95,12 +95,12 @@ func (s *EnvSettings) EnvVars() map[string]string {
"HELM_REGISTRY_CONFIG": s.RegistryConfig,
"HELM_REPOSITORY_CACHE": s.RepositoryCache,
"HELM_REPOSITORY_CONFIG": s.RepositoryConfig,
"HELM_NAMESPACE": s.Namespace,
"HELM_NAMESPACE": s.Namespace(),
"HELM_KUBECONTEXT": s.KubeContext,
}
if s.KubeConfig != "" {
envvars["KUBECONFIG"] = s.KubeConfig
if s.kubeConfig != "" {
envvars["KUBECONFIG"] = s.kubeConfig
}
return envvars