Remove unneeded SERVICE_NAME constant in debt_reporter
This commit is contained in:
parent
29967d76a4
commit
18e77a87a5
|
@ -7,10 +7,8 @@ use syndicate::schemas::dataspace::Observe;
|
|||
|
||||
use crate::schemas::internal_services;
|
||||
|
||||
const SERVICE_NAME: &str = "debt-reporter";
|
||||
|
||||
pub fn on_demand(t: &mut Activation, ds: Arc<Cap>) {
|
||||
t.spawn(syndicate::name!("on_demand", service = SERVICE_NAME), move |t| {
|
||||
t.spawn(syndicate::name!("on_demand", module = module_path!()), move |t| {
|
||||
let monitor = entity(())
|
||||
.on_asserted_facet({
|
||||
let ds = Arc::clone(&ds);
|
||||
|
|
Loading…
Reference in New Issue