Skip to content

Commit

Permalink
Remove redudant call to get current cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
andscoop committed Aug 15, 2018
1 parent d498adf commit 808afa8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 808afa8

Please sign in to comment.