From 808afa856286e92a831e8054cf8066469f52eba7 Mon Sep 17 00:00:00 2001 From: Andy Cooper Date: Wed, 15 Aug 2018 14:54:57 -0400 Subject: [PATCH] Remove redudant call to get current cluster --- auth/auth.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/auth/auth.go b/auth/auth.go index 1eb7b1475..549729a5b 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -124,10 +124,6 @@ func Login(domain string, oAuthOnly bool) error { } } - c, err = cluster.GetCluster(domain) - if err != nil { - return err - } c.SetContextKey("token", token) // Attempt to set projectworkspace if there is only one workspace