> On Oct. 23, 2017, 11:33 p.m., Gaston Kleiman wrote: > > include/mesos/v1/mesos.proto > > Lines 2136 (patched) > > <https://reviews.apache.org/r/63001/diff/9/?file=1863090#file1863090line2136> > > > > I think that "info" is a bit too generic. What about "operation_info" > > or "operation"?
The message has type `OfferOperation`, meaning that the context is clear: it is for an offer operation. It reads well like the following ``` OfferOperation operation; xxx = operation.info().yyy; ``` compared to ``` OfferOperation operation; xxx = operation.operation_info().yyy; ``` - Jie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63001/#review189004 ----------------------------------------------------------- On Oct. 19, 2017, 12:08 a.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63001/ > ----------------------------------------------------------- > > (Updated Oct. 19, 2017, 12:08 a.m.) > > > Review request for mesos, Benjamin Bannier, Benjamin Mahler, Gaston Kleiman, > Greg Mann, Jan Schlicht, and Vinod Kone. > > > Repository: mesos > > > Description > ------- > > Updated protobuf definitions related to offer operations. > > > Diffs > ----- > > include/mesos/mesos.proto 859fdff4d9a0604bc506b08af79075084ae23466 > include/mesos/resource_provider/resource_provider.proto > f5a9073075327019fd133bd51265f695ef464845 > include/mesos/v1/mesos.proto cfd4abd3af1d8c9fbd31659161eada9ec9f92282 > include/mesos/v1/resource_provider/resource_provider.proto > e5cbede5b6e57a8641fca1ebfee5454f292cc24c > src/messages/messages.proto 0a32b3457e9143a7d48670610ca3e56dd516136f > src/resource_provider/manager.cpp 31fcb789f5ab907511e868c374c49f7457a33ed3 > src/resource_provider/validation.cpp > d2927227f60ab0d4ae2481ad73a31ee444b48ee0 > src/tests/resource_provider_validation_tests.cpp > f182bff4670318e9de22c2915c5dbb423a74ad6c > > > Diff: https://reviews.apache.org/r/63001/diff/9/ > > > Testing > ------- > > make check > > > Thanks, > > Jie Yu > >