Create explicit var to avoid incorrect loop iterator reference

pull/6259/head
Thomas Stromberg 2020-01-09 13:51:29 -08:00
parent 359a1c2a83
commit c18692f4a7
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ import (
func TestOffline(t *testing.T) {
t.Run("group", func(t *testing.T) {
for _, runtime := range []string{"docker", "crio", "containerd"} {
runtime := runtime
t.Run(runtime, func(t *testing.T) {
MaybeParallel(t)
WaitForStartSlot(t)