Skip to content

Commit 113bfe7

Browse files
committed
proto/config: Explicit linux user message
Signed-off-by: Vincent Batts <[email protected]>
1 parent beabf64 commit 113bfe7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

proto/config.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,20 @@ enum PlatformType {
6262

6363
// User specifies user information for the process.
6464
message User {
65-
// Type so that receivers of this message can `switch` for the fields expected
66-
optional PlatformType Type = 1 [default = LINUX];
67-
// LinuxUserFields are to be used when Type is LINUX
68-
optional linuxUserFields LinuxUserFields = 2;
65+
// Type so that receivers of this message can `switch` for the fields expected
66+
optional PlatformType Type = 1 [default = LINUX];
67+
68+
optional LinuxUser LinuxUser = 2;
6969
}
7070

7171
// User specifies linux specific user and group information for the container's
7272
// main process.
73-
message linuxUserFields {
73+
message LinuxUser {
7474
// UID is the user id.
75-
optional int32 UID = 1;
75+
optional int32 UID = 1;
7676
// GID is the group id.
77-
optional int32 GID = 2;
78-
repeated int32 AdditionalGids = 3;
77+
optional int32 GID = 2;
78+
repeated int32 AdditionalGids = 3;
7979
}
8080

8181
// Root contains information about the container's root filesystem on the host.

0 commit comments

Comments
 (0)