Remove feature guard from event store
This change removes the `admin-service-event-store` feature guard from
adding the admin event store instance to the `AdminServiceBuilder`. This
feature has been removed, as it has been stabilized.
@@ -86,17 +86,12 @@ impl RunnableAdminSubsystem {
splinter::keys::insecure::AllowAllKeyPermissionManager,
))
.with_coordinator_timeout(admin_timeout)
- .with_routing_table_writer(routing_writer);
+ .with_routing_table_writer(routing_writer)
+ .with_admin_event_store(store_factory.get_admin_service_store());
let circuit_resource_provider =
CircuitResourceProvider::new(node_id, store_factory.get_admin_service_store());
- #[cfg(feature = "admin-service-event-store")]
- {
- admin_service_builder = admin_service_builder
- .with_admin_event_store(store_factory.get_admin_service_store());
- }
-
let admin_service = admin_service_builder
.build()
.map_err(|err| InternalError::from_source(Box::new(err)))?;
