Renamed cluster.pubsub to cluster.coordinator

This commit is contained in:
mdecimus
2025-05-21 18:57:38 +02:00
parent 4b89e5d33f
commit 4505b1cad1
3 changed files with 43 additions and 43 deletions

View File

@@ -138,15 +138,15 @@ impl Core {
})
.unwrap_or_default();
let pubsub = config
.value("cluster.pubsub")
.value("cluster.coordinator")
.map(|id| id.to_string())
.and_then(|id| {
if let Some(store) = stores.pubsub_stores.get(&id) {
store.clone().into()
} else {
config.new_parse_error(
"cluster.pubsub",
format!("PubSub server {id:?} not found"),
"cluster.coordinator",
format!("Coordinator backend {id:?} not found"),
);
None
}