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