mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Delete useless code
This commit is contained in:
		@@ -181,7 +181,6 @@ func (cc *clusterClientCache) delFromClusterSet(obj interface{}) {
 | 
				
			|||||||
// addToClusterSet inserts the new cluster to clusterSet and creates a corresponding
 | 
					// addToClusterSet inserts the new cluster to clusterSet and creates a corresponding
 | 
				
			||||||
// restclient to map clusterKubeClientMap
 | 
					// restclient to map clusterKubeClientMap
 | 
				
			||||||
func (cc *clusterClientCache) addToClientMap(obj interface{}) {
 | 
					func (cc *clusterClientCache) addToClientMap(obj interface{}) {
 | 
				
			||||||
	cluster := obj.(*v1beta1.Cluster)
 | 
					 | 
				
			||||||
	cc.rwlock.Lock()
 | 
						cc.rwlock.Lock()
 | 
				
			||||||
	defer cc.rwlock.Unlock()
 | 
						defer cc.rwlock.Unlock()
 | 
				
			||||||
	cluster, ok := obj.(*v1beta1.Cluster)
 | 
						cluster, ok := obj.(*v1beta1.Cluster)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user