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 371ff9c + d08ba9c commit 2922273Copy full SHA for 2922273
libcontainer/userns/usernsfd_linux.go
@@ -22,16 +22,16 @@ type Mapping struct {
22
func (m Mapping) toSys() (uids, gids []syscall.SysProcIDMap) {
23
for _, uid := range m.UIDMappings {
24
uids = append(uids, syscall.SysProcIDMap{
25
- ContainerID: uid.ContainerID,
26
- HostID: uid.HostID,
27
- Size: uid.Size,
+ ContainerID: int(uid.ContainerID),
+ HostID: int(uid.HostID),
+ Size: int(uid.Size),
28
})
29
}
30
for _, gid := range m.GIDMappings {
31
gids = append(gids, syscall.SysProcIDMap{
32
- ContainerID: gid.ContainerID,
33
- HostID: gid.HostID,
34
- Size: gid.Size,
+ ContainerID: int(gid.ContainerID),
+ HostID: int(gid.HostID),
+ Size: int(gid.Size),
35
36
37
return
0 commit comments