InstrumentationScope scope{
.name = "rec", .version = VERSION, .attributes = {{"hostname", {hostname}}, {"server.id", {serverID}}}};
return TracesData{
- .resource_spans = {pdns::trace::ResourceSpans{.resource = {.attributes = {{"service.name", {{std::move(service)}}}}}, .scope_spans = {{.scope = scope, .spans = std::move(spans)}}}}};
+ .resource_spans = {pdns::trace::ResourceSpans{.resource = {.attributes = {{"service.name", {{std::move(service)}}}}}, .scope_spans = {{.scope = std::move(scope), .spans = std::move(spans)}}}}};
}
};
}
else {
if (subjectName.empty() && !subjectAddress.empty()) {
- subjectName = subjectAddress;
+ subjectName = std::move(subjectAddress);
subjectIsAddress = true;
}
if (subjectName.empty()) {
}
g_carbonConfig.setState(std::move(config));
- return {0, ret};
+ return {0, std::move(ret)};
}
static Answer doSetDnssecLogBogus(ArgIterator begin, ArgIterator end)