We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b95ef0 + 182c3af commit f719f96Copy full SHA for f719f96
rdma.go
@@ -67,6 +67,7 @@ func (p *rdmaController) Create(path string, resources *specs.LinuxResources) er
67
68
for device, limit := range resources.Rdma {
69
if device != "" && (limit.HcaHandles != nil || limit.HcaObjects != nil) {
70
+ limit := limit
71
return retryingWriteFile(
72
filepath.Join(p.Path(path), "rdma.max"),
73
[]byte(createCmdString(device, &limit)),
0 commit comments