mirror of
https://github.com/niusmallnan/steve.git
synced 2026-01-25 14:43:35 +00:00
Reenabled events
This commit is contained in:
@@ -319,8 +319,8 @@ func (s *Store) listAndWatch(apiOp *types.APIRequest, k8sClient dynamic.Resource
|
||||
for event := range watcher.ResultChan() {
|
||||
if event.Type == watch.Error {
|
||||
continue
|
||||
result <- s.toAPIEvent(apiOp, schema, event.Type, event.Object)
|
||||
}
|
||||
result <- s.toAPIEvent(apiOp, schema, event.Type, event.Object)
|
||||
}
|
||||
return fmt.Errorf("closed")
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user