mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Fix linting issue in test
Lint error was introduced in https://github.com/kubernetes/kubernetes/pull/128305 and backported in https://github.com/kubernetes/kubernetes/pull/128806 It was merged before I could fix it, so I thought I'd make a follow up PR to fix it. I won't be backporting this lint as it's only in tests (unless it makes sense to backport?)
This commit is contained in:
		@@ -926,7 +926,9 @@ func TestNodeDeletionReleaseCIDR(t *testing.T) {
 | 
			
		||||
			rangeAllocator.nodesSynced = test.AlwaysReady
 | 
			
		||||
			rangeAllocator.recorder = testutil.NewFakeRecorder()
 | 
			
		||||
 | 
			
		||||
			rangeAllocator.syncNode(tCtx, tc.nodeKey)
 | 
			
		||||
			if err := rangeAllocator.syncNode(tCtx, tc.nodeKey); err != nil {
 | 
			
		||||
				t.Fatalf("failed to run rangeAllocator.syncNode")
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			if len(rangeAllocator.cidrSets) != 1 {
 | 
			
		||||
				t.Fatalf("Expected a single cidrSet, but got %d", len(rangeAllocator.cidrSets))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user