Reenabled events

This commit is contained in:
Darren Shepherd
2020-07-20 09:21:18 -07:00
parent e27f384795
commit 4e81175966

View File

@@ -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")
})