mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Merge pull request #119654 from p0lyn0mial/upstream-watch-list-e2e-panic
e2e/apimachinery/watchlist: stop panicking when run against unsupported cluster/environment
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user