@@ -306,53 +306,18 @@ func TestIsImageLoadingRequired(t *testing.T) {
306
306
cfg * ContextConfig
307
307
expected bool
308
308
}{
309
- {
310
- cfg : & ContextConfig {Kubecontext : "kind-other" },
311
- expected : true ,
312
- },
313
- {
314
-
315
- cfg : & ContextConfig {Kubecontext : "kind-other" , KindDisableLoad : util .BoolPtr (true )},
316
- expected : false ,
317
- },
318
- {
319
- cfg : & ContextConfig {Kubecontext : "kind@kind" },
320
- expected : true ,
321
- },
322
- {
323
- cfg : & ContextConfig {Kubecontext : "k3d-k3s-default" },
324
- expected : true ,
325
- },
326
- {
327
- cfg : & ContextConfig {Kubecontext : "k3d-k3s-default" , K3dDisableLoad : util .BoolPtr (true )},
328
- expected : false ,
329
- },
330
- {
331
- cfg : & ContextConfig {Kubecontext : "docker-for-desktop" },
332
- expected : false ,
333
- },
334
- {
335
- cfg : & ContextConfig {Kubecontext : "minikube" },
336
- expected : false ,
337
- },
338
- {
339
- cfg : & ContextConfig {Kubecontext : "docker-desktop" },
340
- expected : false ,
341
- },
342
- {
343
- cfg : & ContextConfig {Kubecontext : "anything-else" },
344
- expected : false },
345
- {
346
- cfg : & ContextConfig {Kubecontext : "kind@blah" },
347
- expected : false },
348
- {
349
- cfg : & ContextConfig {Kubecontext : "other-kind" },
350
- expected : false ,
351
- },
352
- {
353
- cfg : & ContextConfig {Kubecontext : "not-k3d" },
354
- expected : false ,
355
- },
309
+ {cfg : & ContextConfig {Kubecontext : "kind-other" }, expected : true },
310
+ {cfg : & ContextConfig {Kubecontext : "kind-other" , KindDisableLoad : util .BoolPtr (true )}, expected : false },
311
+ {cfg : & ContextConfig {Kubecontext : "kind@kind" }, expected : true },
312
+ {cfg : & ContextConfig {Kubecontext : "k3d-k3s-default" }, expected : true },
313
+ {cfg : & ContextConfig {Kubecontext : "k3d-k3s-default" , K3dDisableLoad : util .BoolPtr (true )}, expected : false },
314
+ {cfg : & ContextConfig {Kubecontext : "docker-for-desktop" }, expected : false },
315
+ {cfg : & ContextConfig {Kubecontext : "minikube" }, expected : false },
316
+ {cfg : & ContextConfig {Kubecontext : "docker-desktop" }, expected : false },
317
+ {cfg : & ContextConfig {Kubecontext : "anything-else" }, expected : false },
318
+ {cfg : & ContextConfig {Kubecontext : "kind@blah" }, expected : false },
319
+ {cfg : & ContextConfig {Kubecontext : "other-kind" }, expected : false },
320
+ {cfg : & ContextConfig {Kubecontext : "not-k3d" }, expected : false },
356
321
}
357
322
for _ , test := range tests {
358
323
testutil .Run (t , "" , func (t * testutil.T ) {
0 commit comments