@@ -156,9 +156,10 @@ pub async fn handle_docker_init(config_path: String, output_dir: String) -> Resu
156156
157157 // depends_on
158158 let mut module_dependencies = IndexMap :: new ( ) ;
159- module_dependencies. insert ( "cb_signer" . into ( ) , DependsCondition {
160- condition : "service_healthy" . into ( ) ,
161- } ) ;
159+ module_dependencies. insert (
160+ "cb_signer" . into ( ) ,
161+ DependsCondition { condition : "service_healthy" . into ( ) } ,
162+ ) ;
162163
163164 Service {
164165 container_name : Some ( module_cid. clone ( ) ) ,
@@ -294,7 +295,7 @@ pub async fn handle_docker_init(config_path: String, output_dir: String) -> Resu
294295 pbs_volumes. extend ( get_log_volume ( & cb_config. logs , PBS_MODULE_NAME ) ) ;
295296
296297 // networks
297- let pbs_networs = if metrics_enabled {
298+ let pbs_networks = if metrics_enabled {
298299 Networks :: Simple ( vec ! [ METRICS_NETWORK . to_owned( ) ] )
299300 } else {
300301 Networks :: default ( )
@@ -304,7 +305,7 @@ pub async fn handle_docker_init(config_path: String, output_dir: String) -> Resu
304305 container_name : Some ( pbs_container_name. clone ( ) ) ,
305306 image : Some ( pbs_config. docker_image . clone ( ) ) ,
306307 ports,
307- networks : pbs_networs ,
308+ networks : pbs_networks ,
308309 volumes : pbs_volumes,
309310 environment : Environment :: KvPair ( pbs_envs) ,
310311 healthcheck : Some ( Healthcheck {
0 commit comments