Merge pull request #28758 from xiang90/clean_service
Automatic merge from submit-queue
controller/service: minor cleanup
1. always handle short case first for if statement
2. do not capitalize error message
3. put the mutex before the fields it protects
4. prefer switch over if elseif.
Showing
Please
register
or
sign in
to comment