Work on #61: Add support for ICMP

+ Update dependencies
This commit is contained in:
TwinProduction committed 2020-12-25 00:07:18 -05:00
1 parent c86173d46f
commit 83a5813daf
1004 files changed
+182274 -64323

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ func (d *Decoder) Decode() (watch.EventType, runtime.Object, error) {
return "", nil, fmt.Errorf("unable to decode to metav1.Event")
}
switch got.Type {
case string(watch.Added), string(watch.Modified), string(watch.Deleted), string(watch.Error):
case string(watch.Added), string(watch.Modified), string(watch.Deleted), string(watch.Error), string(watch.Bookmark):
default:
return "", nil, fmt.Errorf("got invalid watch event type: %v", got.Type)
}