plugin: Add component enums for pluggable cluster backends

This commit is contained in:
Arne Welzel 2024-11-13 10:30:57 +01:00
parent 349d88153f
commit 35eadf0ceb
2 changed files with 18 additions and 9 deletions

View file

@ -39,6 +39,12 @@ void Component::Describe(ODesc* d) const {
case component::SESSION_ADAPTER: d->Add("Session Adapter"); break;
case component::CLUSTER_BACKEND: d->Add("Cluster Backend"); break;
case component::EVENT_SERIALIZER: d->Add("Event Serializer"); break;
case component::LOG_SERIALIZER: d->Add("Log Serializer"); break;
default:
reporter->InternalWarning("unknown component type in plugin::Component::Describe");
d->Add("<unknown component type>");