Skip to content

Commit 918ec71

Browse files
committed
fix device permissions
1 parent a2366df commit 918ec71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func main() {
1818
// This should be deprecated if the API allows for shared resources in the future
1919
maxDevices = 1000
2020
)
21-
device := device_manager.NewGenericDevicePlugin(deviceName, devicePath, maxDevices, "", (deviceName != "kvm"))
21+
device := device_manager.NewGenericDevicePlugin(deviceName, devicePath, maxDevices, "rw", (deviceName != "kvm"))
2222
stop := make(chan struct{})
2323
if err := device.Start(stop); err != nil {
2424
log.Fatal(err)

0 commit comments

Comments
 (0)