@@ -498,9 +498,9 @@ def _deploy_root(config: dict) -> dict:
498498 }
499499
500500
501- def _deploy_feed (config : dict , system_server_id : str ) -> dict :
501+ def _deploy_feed (config : dict , system_server_id : str , base_url : str ) -> dict :
502502 bbox = config ["bounding_box" ]
503- system_href = f"{ config [ ' base_url' ] .rstrip ('/' )} /systems/{ system_server_id } "
503+ system_href = f"{ base_url .rstrip ('/' )} /systems/{ system_server_id } "
504504 center_lon = (bbox ["lomin" ] + bbox ["lomax" ]) / 2
505505 center_lat = (bbox ["lamin" ] + bbox ["lamax" ]) / 2
506506
@@ -598,7 +598,7 @@ def bootstrap(*, clean=False, clean_only=False, dry_run=False, force_sml=False):
598598 root_id = ensure_deployment (base_url , auth , DEPLOY_ROOT_UID , _deploy_root (config ),
599599 dry_run = dry_run , stats = stats )
600600 ensure_deployment (base_url , auth , DEPLOY_FEED_UID ,
601- _deploy_feed (config , sys_id or "pending" ),
601+ _deploy_feed (config , sys_id or "pending" , base_url ),
602602 parent_id = root_id , dry_run = dry_run , stats = stats )
603603
604604 print_summary (stats , dry_run )
0 commit comments