mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
central nginx manager
This commit is contained in:
@@ -60,10 +60,11 @@ Context::convertToString(MetaDataType type)
|
||||
case MetaDataType::Direction: return "direction";
|
||||
case MetaDataType::Email: return "email";
|
||||
case MetaDataType::COUNT:
|
||||
dbgAssert(false) << alert << "COUNT is not a valid meta data type";
|
||||
dbgAssertOpt(false) << alert << "COUNT is not a valid meta data type";
|
||||
return "invalid_count";
|
||||
}
|
||||
dbgAssert(false) << alert << "Reached impossible case with type=" << static_cast<int>(type);
|
||||
return "";
|
||||
dbgAssertOpt(false) << alert << "Reached impossible case with type=" << static_cast<int>(type);
|
||||
return "invalid_metadata_type";
|
||||
}
|
||||
|
||||
map<string, uint64_t>
|
||||
|
@@ -97,8 +97,8 @@ Span::convertSpanContextTypeToString(ContextType type)
|
||||
return "Follows from";
|
||||
}
|
||||
}
|
||||
dbgAssert(false) << AlertInfo(AlertTeam::CORE, "tracing") << "Span context not supported";
|
||||
return string();
|
||||
dbgAssertOpt(false) << AlertInfo(AlertTeam::CORE, "tracing") << "Span context not supported";
|
||||
return "Invalid context type";
|
||||
}
|
||||
|
||||
SpanWrapper::SpanWrapper(string _trace_id, Span::ContextType _type, string _prev_span)
|
||||
|
Reference in New Issue
Block a user