mirror of
https://github.com/moby/moby.git
synced 2026-08-07 08:31:39 +00:00
Merge pull request #42874 from thaJeztah/fix_TestVerifyPlatformContainerResources
daemon: fix TestVerifyPlatformContainerResources not capturing variable
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user