diff --git a/client/llb/fileop.go b/client/llb/fileop.go index 64f6ea312860..d41f9e4cb09b 100644 --- a/client/llb/fileop.go +++ b/client/llb/fileop.go @@ -239,7 +239,7 @@ func (up *UserOpt) marshal(base pb.InputIndex) *pb.UserOpt { if up.Name != "" { return &pb.UserOpt{Name: up.Name, Input: base} } - return &pb.UserOpt{Id: int32(up.UID), Input: -1} + return &pb.UserOpt{Id: uint32(up.UID), Input: -1} } func Mkfile(p string, m os.FileMode, dt []byte, opts ...MkfileOption) *FileAction { diff --git a/solver/pb/ops.pb.go b/solver/pb/ops.pb.go index c97ab285624a..dc427008efd6 100644 --- a/solver/pb/ops.pb.go +++ b/solver/pb/ops.pb.go @@ -1413,7 +1413,7 @@ func (m *ChownOpt) GetGroup() *UserOpt { type UserOpt struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Input InputIndex `protobuf:"varint,2,opt,name=input,proto3,customtype=InputIndex" json:"input"` - Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` + Id uint32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` } func (m *UserOpt) Reset() { *m = UserOpt{} } @@ -1428,7 +1428,7 @@ func (m *UserOpt) GetName() string { return "" } -func (m *UserOpt) GetId() int32 { +func (m *UserOpt) GetId() uint32 { if m != nil { return m.Id } @@ -8021,7 +8021,7 @@ func (m *UserOpt) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Id |= (int32(b) & 0x7F) << shift + m.Id |= (uint32(b) & 0x7F) << shift if b < 0x80 { break } @@ -8155,7 +8155,7 @@ var ( func init() { proto.RegisterFile("ops.proto", fileDescriptorOps) } var fileDescriptorOps = []byte{ - // 1867 bytes of a gzipped FileDescriptorProto + // 1866 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6e, 0x23, 0xc7, 0x11, 0x16, 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0xd5, 0x73, 0xde, 0x7f, 0x76, + 0xf4, 0xa4, 0xd7, 0x2c, 0xa0, 0xe0, 0x97, 0x83, 0x93, 0x6f, 0x7a, 0xdd, 0xa6, 0x73, 0x7c, 0xfb, + 0xbb, 0xd7, 0xbb, 0x85, 0x3f, 0xbd, 0xde, 0x2d, 0xfc, 0xf5, 0xf5, 0x6e, 0xe1, 0x9f, 0xaf, 0x77, + 0x0b, 0xdf, 0xfe, 0x6b, 0x77, 0xe3, 0xa2, 0x42, 0x7f, 0xb4, 0x7c, 0xfe, 0xef, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xe3, 0xa1, 0x74, 0x29, 0xa8, 0x11, 0x00, 0x00, } diff --git a/solver/pb/ops.proto b/solver/pb/ops.proto index fa78c4aa875f..9051053d24f3 100644 --- a/solver/pb/ops.proto +++ b/solver/pb/ops.proto @@ -261,5 +261,5 @@ message ChownOpt { message UserOpt { string name = 1; int64 input = 2 [(gogoproto.customtype) = "InputIndex", (gogoproto.nullable) = false]; // input that contains /etc/passwd if using a name - int32 id = 3; + uint32 id = 3; } \ No newline at end of file