mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +00:00
e2e/apimachinery/watchlist: stop panicking when run against unsupported cluster/environment
This commit is contained in:
parent
97c7dbcd22
commit
a44ce346d7
@ -52,7 +52,6 @@ var _ = SIGDescribe("API Streaming (aka. WatchList) [Serial] [Feature:WatchList]
|
||||
secretInformer := cache.NewSharedIndexInformer(
|
||||
&cache.ListWatch{
|
||||
ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
|
||||
framework.Fail("Unexpected list call")
|
||||
return nil, fmt.Errorf("unexpected list call")
|
||||
},
|
||||
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user