Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project should not fetch client immediately
oc project can be used to switch config contexts, but loads its client in the Complete() method which does API negotiation. Since a user may not be logged in or the server they are talking to may be down, changing projects then doesn't work. Use a lazy client loader just for project until we can sort out lazy api negotiation and/or something better on client.
- Loading branch information
1 parent
5331355
commit 205f9d7
Showing
1 changed file
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters