We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95ddc3 commit be3d179Copy full SHA for be3d179
pkg/common/controlplaneendpoint/virtualip/kubevip_test.go
@@ -46,8 +46,7 @@ func Test_GetFile(t *testing.T) {
46
},
47
}
48
49
- for idx := range tests {
50
- tt := tests[idx] // Capture range variable
+ for _, tt := range tests {
51
t.Run(tt.name, func(t *testing.T) {
52
t.Parallel()
53
fakeClient := fake.NewClientBuilder().WithObjects(tt.configMap).Build()
@@ -128,8 +127,7 @@ func Test_getTemplateFromConfigMap(t *testing.T) {
128
127
129
130
131
132
133
134
135
0 commit comments