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.
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.