k3s/federation/pkg
Kubernetes Submit Queue 7d7d91fb71 Merge pull request #42567 from FengyunPan/fix_UpdateClusterStatus
Automatic merge from submit-queue (batch tested with PRs 41297, 42638, 42666, 43039, 42567)

Delete offline restclient from clusterKubeClientMap

When federation controller manager checks cluster status, it will
delete the offline cluster from clusterSet, but do not delete the
corresponding restclient from the map clusterKubeClientMap for
the offline cluster. This patch can fix it.



**What this PR does / why we need it**:

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-03-25 18:15:26 -07:00
..
dnsprovider route53: set WithCredentialsChainVerboseErrors 2017-02-22 23:19:18 -05:00
federation-controller Merge pull request #42567 from FengyunPan/fix_UpdateClusterStatus 2017-03-25 18:15:26 -07:00
kubefed Remove TODOs that are already implemented or are irrelevant now. 2017-03-17 21:35:15 -07:00