Skip to content

Commit 61a1fd8

Browse files
fix: make linter happy
1 parent 2983336 commit 61a1fd8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cns/nodesubnet/initialization_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,11 @@ func TestNewCNSPodInfoProvider(t *testing.T) {
8383

8484
for _, tt := range tests {
8585
tt := tt
86-
ctx, cancel := testContext(t)
87-
defer cancel()
8886

8987
t.Run(tt.name, func(t *testing.T) {
88+
ctx, cancel := testContext(t)
89+
defer cancel()
90+
9091
podInfoByIPProvider, err := cnireconciler.NewCNSPodInfoProvider(tt.store)
9192
checkErr(t, err, false)
9293

0 commit comments

Comments
 (0)