> On Feb. 14, 2017, 1:48 p.m., Gastón Kleiman wrote:
> > I think that we should also update `checks/checker.cpp` and 
> > `checks/health_checker.cpp`:
> > 
> > ```
> > $ ag --cpp --nomultiline '^\s*[^/"]+".*`'
> > checks/checker.cpp
> > 60:            "Check's `CommandInfo` is invalid: " + error->message);
> > 
> > checks/health_checker.cpp
> > 1111:            "Health check's `CommandInfo` is invalid: " + 
> > error->message);
> > ```
> 
> Benjamin Bannier wrote:
>     I didn't intend to make a full sweep in this patch, but rather to address 
> a single such instance in the reservation validation code I touched.
>     
>     I believe a full sweep should fix a much larger number of places (in 
> addition to error messages probably also in e.g., help strings),
>     
>         $ git grep -n '".*`' | grep -v '^.*\/\/' | grep -E '(cpp:|hpp:)' | wc 
> -l
>              328

Wow, I did not realize the extent to which backticks have made it into our 
logging, error, and help messages. This would warrant a thread on the dev list 
to make sure everyone is on the same page, because from what I can tell it has 
become inconsistent. I'm curious to know if there were any reasons to also 
include backticks in logging, error, and help messages (other than being 
consistent with comment formatting style).


- Benjamin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56601/#review165502
-----------------------------------------------------------


On Feb. 14, 2017, 1:47 a.m., Benjamin Bannier wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56601/
> -----------------------------------------------------------
> 
> (Updated Feb. 14, 2017, 1:47 a.m.)
> 
> 
> Review request for mesos and Benjamin Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> See summary.
> 
> 
> Diffs
> -----
> 
>   src/master/validation.cpp 2bfca95713319a195e43e990cbc2dc5570b89c4e 
>   src/tests/master_validation_tests.cpp 
> fd1f4a6cf0661351e265e50da1bd6ea04ed13d26 
> 
> Diff: https://reviews.apache.org/r/56601/diff/
> 
> 
> Testing
> -------
> 
> make check (OS X)
> 
> 
> Thanks,
> 
> Benjamin Bannier
> 
>

Reply via email to