Update go dependencies

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-06-24 09:07:24 -04:00
parent 535d806676
commit a662db5366
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
270 changed files with 13455 additions and 5291 deletions

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