There was an error while loading. Please reload this page.
1 parent 1631379 commit 0ddc917Copy full SHA for 0ddc917
1 file changed
lib/devices/vgpu_linux.go
@@ -92,6 +92,9 @@ func DestroyVGPU(ctx context.Context, assignment VGPUAssignment) error {
92
case VGPUFrameworkMdev:
93
mdevUUID := assignment.MdevUUID
94
if mdevUUID == "" {
95
+ if assignment.DevicePath == "" {
96
+ return nil
97
+ }
98
mdevUUID = filepath.Base(assignment.DevicePath)
99
}
100
return DestroyMdev(ctx, mdevUUID)
0 commit comments