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.
2 parents 35c4d96 + 08ebbfc commit 0219733Copy full SHA for 0219733
tests/cmd/remap-rootfs/remap-rootfs.go
@@ -49,7 +49,7 @@ type inodeID struct {
49
}
50
51
func toInodeID(st *syscall.Stat_t) inodeID {
52
- return inodeID{Dev: st.Dev, Ino: st.Ino}
+ return inodeID{Dev: uint64(st.Dev), Ino: st.Ino} //nolint:unconvert // Dev is uint32 on e.g. MIPS.
53
54
55
func remapRootfs(root string, uidMap, gidMap []specs.LinuxIDMapping) error {
0 commit comments