mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
remove lock for broadcast
This commit is contained in:
parent
f68446fed9
commit
7f9d66525a
@ -118,9 +118,7 @@ func (f *FakeEtcdClient) Watch(prefix string, waitIndex uint64, recursive bool,
|
||||
defer close(injectedError)
|
||||
f.WatchInjectError = injectedError
|
||||
|
||||
f.condLock.Lock()
|
||||
f.condWatchCompleted.Broadcast()
|
||||
f.condLock.Unlock()
|
||||
|
||||
select {
|
||||
case <-stop:
|
||||
|
Loading…
Reference in New Issue
Block a user