Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions internal/edits/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@
}

return &specs.DeviceNode{
HostPath: d.HostPath,
Path: d.Path,
Major: dn.Major,
Minor: dn.Minor,
FileMode: &dn.FileMode,
HostPath: d.HostPath,
Path: d.Path,
Major: dn.Major,
Minor: dn.Minor,
FileMode: &dn.FileMode,
Permissions: string(*&dn.Permissions),

Check failure on line 80 in internal/edits/device.go

View workflow job for this annotation

GitHub Actions / check

SA4001: *&x will be simplified to x. It will not copy x. (staticcheck)
}
}
Loading