We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34cedf8 commit ffb3cd1Copy full SHA for ffb3cd1
internal/deviceplugin/deviceplugin.go
@@ -57,7 +57,7 @@ func NewERDMADevicePlugin(devices []*types.ERdmaDeviceInfo, allocAllDevices, dev
57
58
pluginEndpoint := fmt.Sprintf(dpSocketPath, time.Now().Unix())
59
if allocRdmaCM {
60
- _, err := os.Stat(rdmaCMDevice)
+ _, err := os.Stat(path.Join("/proc/1/root", rdmaCMDevice))
61
if err != nil {
62
allocRdmaCM = false
63
}
0 commit comments