mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
Merge pull request #128856 from adrianmoisey/fix_linter
Fix linting issue in TestNodeDeletionReleaseCIDR
This commit is contained in:
commit
62e469abb2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user