Skip to content

Commit

Permalink
Merge pull request #75 from ibuildthecloud/master
Browse files Browse the repository at this point in the history
Always return unstructured objects
  • Loading branch information
ibuildthecloud committed Mar 24, 2020
2 parents 2375f1d + 1bf4366 commit 31ecc72
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions pkg/summary/client/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}()
Expand Down

0 comments on commit 31ecc72

Please sign in to comment.