Skip to content

Commit 31485fa

Browse files
committed
Return golang compliant names for UID and GID in User
Signed-off-by: Alexander Morozov <[email protected]>
1 parent c83c65c commit 31485fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config_linux.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ type Linux struct {
2020
// User specifies linux specific user and group information for the container's
2121
// main process.
2222
type User struct {
23-
// Uid is the user id.
24-
Uid int32 `json:"uid"`
25-
// Gid is the group id.
26-
Gid int32 `json:"gid"`
23+
// UID is the user id.
24+
UID int32 `json:"uid"`
25+
// GID is the group id.
26+
GID int32 `json:"gid"`
2727
// AdditionalGids are additional group ids set for the container's process.
2828
AdditionalGids []int32 `json:"additionalGids"`
2929
}

0 commit comments

Comments
 (0)