File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ type Linux struct {
1717// main process.
1818type User struct {
1919 // UID is the user id.
20- UID int32 `json:"uid"`
20+ UID uint32 `json:"uid"`
2121 // GID is the group id.
22- GID int32 `json:"gid"`
22+ GID uint32 `json:"gid"`
2323 // AdditionalGids are additional group ids set for the container's process.
24- AdditionalGids []int32 `json:"additionalGids"`
24+ AdditionalGids []uint32 `json:"additionalGids"`
2525}
Original file line number Diff line number Diff line change @@ -73,11 +73,11 @@ const (
7373// IDMapping specifies UID/GID mappings
7474type IDMapping struct {
7575 // HostID is the UID/GID of the host user or group
76- HostID int32 `json:"hostID"`
76+ HostID uint32 `json:"hostID"`
7777 // ContainerID is the UID/GID of the container's user or group
78- ContainerID int32 `json:"containerID"`
78+ ContainerID uint32 `json:"containerID"`
7979 // Size is the length of the range of IDs mapped between the two namespaces
80- Size int32 `json:"size"`
80+ Size uint32 `json:"size"`
8181}
8282
8383// Rlimit type and restrictions
You can’t perform that action at this time.
0 commit comments