File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ impl<C: LoadConfig> ServerRunner<C> {
6363 ) -> anyhow:: Result < ( ) > {
6464 let config = self . context . adapter_config . clone ( ) ;
6565 let mut runtime_status_service: Option < DracoRuntimeStatusService > = None ;
66-
6766 log:: info!( "Starting Draco Variant: {}" , config. draco_variant) ;
6867
6968 if !config. is_static ( ) {
@@ -85,12 +84,14 @@ impl<C: LoadConfig> ServerRunner<C> {
8584 . await ;
8685 } ;
8786
88- let definition_service = FlowUpdateService :: from_url (
87+ let service_name = format ! ( "draco-{}" , config. draco_variant. to_lowercase( ) ) ;
88+ let mut definition_service = FlowUpdateService :: from_url (
8989 config. aquila_url . clone ( ) ,
9090 config. definition_path . as_str ( ) ,
9191 config. aquila_token . clone ( ) ,
9292 )
93- . await ;
93+ . await
94+ . with_definition_source ( service_name) ;
9495
9596 let mut success = false ;
9697 let mut count = 1 ;
You can’t perform that action at this time.
0 commit comments