mapping data to etcd
This commit is contained in:
6
vendor/k8s.io/apimachinery/pkg/watch/mux.go
generated
vendored
6
vendor/k8s.io/apimachinery/pkg/watch/mux.go
generated
vendored
@@ -204,11 +204,7 @@ func (m *Broadcaster) Shutdown() {
|
||||
func (m *Broadcaster) loop() {
|
||||
// Deliberately not catching crashes here. Yes, bring down the process if there's a
|
||||
// bug in watch.Broadcaster.
|
||||
for {
|
||||
event, ok := <-m.incoming
|
||||
if !ok {
|
||||
break
|
||||
}
|
||||
for event := range m.incoming {
|
||||
if event.Type == internalRunFunctionMarker {
|
||||
event.Object.(functionFakeRuntimeObject)()
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user