mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 18:28:13 +00:00 
			
		
		
		
	Merge pull request #125920 from siyuanfoundation/bug
fix lock bug for componentGlobalsRegistry
This commit is contained in:
		| @@ -135,8 +135,8 @@ func NewComponentGlobalsRegistry() *componentGlobalsRegistry { | ||||
| } | ||||
|  | ||||
| func (r *componentGlobalsRegistry) Reset() { | ||||
| 	r.mutex.RLock() | ||||
| 	defer r.mutex.RUnlock() | ||||
| 	r.mutex.Lock() | ||||
| 	defer r.mutex.Unlock() | ||||
| 	r.componentGlobals = make(map[string]*ComponentGlobals) | ||||
| 	r.emulationVersionConfig = nil | ||||
| 	r.featureGatesConfig = nil | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot