diff --git a/daemon/daemon_unix_test.go b/daemon/daemon_unix_test.go index 65244ad576..9c1b146ca1 100644 --- a/daemon/daemon_unix_test.go +++ b/daemon/daemon_unix_test.go @@ -356,6 +356,7 @@ func TestVerifyPlatformContainerResources(t *testing.T) { }, } for _, tc := range tests { + tc := tc t.Run(tc.name, func(t *testing.T) { t.Parallel() warnings, err := verifyPlatformContainerResources(&tc.resources, &tc.sysInfo, tc.update)