Skip to content

Commit

Permalink
fixup! refactor: add kube-vip static Pod to KCP in the handler
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin committed Apr 24, 2024
1 parent b95ddc3 commit be3d179
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/common/controlplaneendpoint/virtualip/kubevip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ func Test_GetFile(t *testing.T) {
},
}

for idx := range tests {
tt := tests[idx] // Capture range variable
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
fakeClient := fake.NewClientBuilder().WithObjects(tt.configMap).Build()
Expand Down Expand Up @@ -128,8 +127,7 @@ func Test_getTemplateFromConfigMap(t *testing.T) {
},
}

for idx := range tests {
tt := tests[idx] // Capture range variable
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
fakeClient := fake.NewClientBuilder().WithObjects(tt.configMap).Build()
Expand Down

0 comments on commit be3d179

Please sign in to comment.