mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
comment
This commit is contained in:
parent
101806cb5e
commit
f68446fed9
@ -51,9 +51,8 @@ func MakeFakeEtcdClient(t *testing.T) *FakeEtcdClient {
|
|||||||
ret := &FakeEtcdClient{
|
ret := &FakeEtcdClient{
|
||||||
t: t,
|
t: t,
|
||||||
Data: map[string]EtcdResponseWithError{},
|
Data: map[string]EtcdResponseWithError{},
|
||||||
// watchChanReady: make(chan bool),
|
|
||||||
}
|
}
|
||||||
// The channels are not ready yet
|
// Watch() method has not been called.
|
||||||
ret.condWatchCompleted = sync.NewCond(&ret.condLock)
|
ret.condWatchCompleted = sync.NewCond(&ret.condLock)
|
||||||
return ret
|
return ret
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user