Skip to content

Commit f1871bc

Browse files
author
Ruslan Nigmatullin
committed
fix style
1 parent b88f105 commit f1871bc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/include/grpc_transcoding/path_matcher.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ void ExtractBindingsFromQueryParameters(
333333
// - Strips off query string: "/a?foo=bar" --> "/a"
334334
// - Collapses extra slashes: "///" --> "/"
335335
std::vector<std::string> ExtractRequestParts(
336-
std::string path,
337-
const std::unordered_set<std::string>& custom_verbs) {
336+
std::string path, const std::unordered_set<std::string>& custom_verbs) {
338337
// Remove query parameters.
339338
path = path.substr(0, path.find_first_of('?'));
340339

@@ -407,7 +406,8 @@ Method PathMatcher<Method>::Lookup(
407406
const std::string& query_params,
408407
std::vector<VariableBinding>* variable_bindings,
409408
std::string* body_field_path) const {
410-
const std::vector<std::string> parts = ExtractRequestParts(path, custom_verbs_);
409+
const std::vector<std::string> parts =
410+
ExtractRequestParts(path, custom_verbs_);
411411

412412
// If service_name has not been registered to ESP and strict_service_matching_
413413
// is set to false, tries to lookup the method in all registered services.
@@ -439,7 +439,8 @@ Method PathMatcher<Method>::Lookup(
439439
template <class Method>
440440
Method PathMatcher<Method>::Lookup(const std::string& http_method,
441441
const std::string& path) const {
442-
const std::vector<std::string> parts = ExtractRequestParts(path, custom_verbs_);
442+
const std::vector<std::string> parts =
443+
ExtractRequestParts(path, custom_verbs_);
443444

444445
// If service_name has not been registered to ESP and strict_service_matching_
445446
// is set to false, tries to lookup the method in all registered services.

0 commit comments

Comments
 (0)