Update vendor

This commit is contained in:
Darren Shepherd
2020-03-24 16:19:10 -07:00
parent ed6d3f2b3a
commit c4fc6869f2
4 changed files with 5 additions and 13 deletions

View File

@@ -89,15 +89,7 @@ func (c *summaryResourceClient) Watch(opts metav1.ListOptions) (watch.Interface,
go func() {
defer close(eventChan)
for event := range resp.ResultChan() {
switch event.Type {
case watch.Added:
fallthrough
case watch.Modified:
fallthrough
case watch.Deleted:
event.Object = summary.Summarized(event.Object)
default:
}
event.Object = summary.Summarized(event.Object)
eventChan <- event
}
}()