> On May 4, 2016, 8:34 p.m., Alexander Rukletsov wrote: > > src/slave/http.cpp, lines 623-624 > > <https://reviews.apache.org/r/46935/diff/1/?file=1369765#file1369765line623> > > > > How about something like: "The principal should be authorized to query > > this endpoint"?
+1, although I'd say "The current principal ..." - Neil ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46935/#review131738 ----------------------------------------------------------- On May 3, 2016, 2:17 p.m., Benjamin Bannier wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46935/ > ----------------------------------------------------------- > > (Updated May 3, 2016, 2:17 p.m.) > > > Review request for mesos, Alexander Rukletsov, Alexander Rojas, and Neil > Conway. > > > Repository: mesos > > > Description > ------- > > Documented the agent endpoint '/metrics/snapshot'. > > > Diffs > ----- > > src/slave/http.cpp 9b558862e025c5caa71e05fc5eeba783c0ad6fd5 > > Diff: https://reviews.apache.org/r/46935/diff/ > > > Testing > ------- > > make check (OS X, clang-trunk w/o optimizations) > > I also ran `generate-endpoints` and inspected the generated documentation. > > > Thanks, > > Benjamin Bannier > >