Quote a bash variable, fix a typo and add some additional logging.

This commit is contained in:
Madhusudan.C.S
2017-01-06 19:13:59 +05:30
parent 0c81f60ba0
commit 48f79cf600
2 changed files with 4 additions and 3 deletions

View File

@@ -751,7 +751,6 @@ func (f *Framework) GetUnderlyingFederatedContexts() []E2EContext {
e2eContexts := []E2EContext{}
for _, context := range kubeconfig.Contexts {
if strings.HasPrefix(context.Name, "federation") && context.Name != federatedKubeContext {
user := kubeconfig.findUser(context.Context.User)
if user == nil {
Failf("Could not find user for context %+v", context)