-
Notifications
You must be signed in to change notification settings - Fork 5.5k
config: fix delta xDS's use of (un)subscribe fields, more explicit protocol spec #6545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 12 commits
e9391d8
9d8ff09
13d224d
d6afbcb
c1f533f
8a82b87
278344c
e2c1370
ece66ff
d2d9dc6
823123b
2177517
ea842dd
8326c82
9702684
402135b
83fae55
5714c48
57eafa3
1d1e024
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -297,6 +297,14 @@ class StringUtil { | |
| */ | ||
| static std::string join(const std::vector<std::string>& source, const std::string& delimiter); | ||
|
|
||
| /** | ||
| * Join elements of a sorted set into a string delimited by delimiter. | ||
| * @param source supplies the strings to join. | ||
| * @param delimiter supplies the delimiter to join them together. | ||
| * @return string combining elements of `source` with `delimiter` in between each element. | ||
| */ | ||
| static std::string join(const std::set<std::string>& source, const std::string& delimiter); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we maybe just have a templatized
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I was wondering if there might be something like that, but.... seemed like a lot of trouble! This duplicated join() broke some other tests I didn't notice, so I have already addressed that by just inlining the single use of join(). Does that sound ok?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's OK, but it's probably only a couple of lines to make it a template with iterators :) |
||
|
|
||
| /** | ||
| * Version of substr() that operates on a start and end index instead of a start index and a | ||
| * length. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.