mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Fix otel includes in .clangd
This commit is contained in:
parent
f319078694
commit
41c4642a21
2 changed files with 4 additions and 2 deletions
1
.clangd
1
.clangd
|
@ -7,3 +7,4 @@ CompileFlags:
|
|||
- "-I./ext"
|
||||
- "-I./ext/prometheus-cpp-lite-1.0/core/include"
|
||||
- "-I./ext/prometheus-cpp-lite-1.0/simpleapi/include"
|
||||
- "-I./ext/opentelemetry-cpp-1.21.0/api/include/"
|
||||
|
|
|
@ -2851,7 +2851,8 @@ class OneServiceImpl : public OneService {
|
|||
std::string linkSelectMethodStr;
|
||||
if (customPolicy.contains("linkSelectMethod")) {
|
||||
linkSelectMethodStr = OSUtils::jsonString(customPolicy["linkSelectMethod"], "always");
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
linkSelectMethodStr = OSUtils::jsonString(customPolicy["activeReselect"], "always");
|
||||
if (customPolicy.contains("activeReselect")) {
|
||||
fprintf(stderr, "warning: 'activeReselect' is deprecated, please use 'linkSelectMethod' instead in policy '%s'\n", customPolicyStr.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue