File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,11 +169,12 @@ def find_workspace_root(start: Path) -> Path | None:
169169def controller_client (config_file : str ) -> Iterable [IrisClient ]:
170170 iris_config = IrisConfig .load (config_file )
171171 controller_address = iris_config .controller_address ()
172- platform = iris_config .platform ()
172+ providers = iris_config .provider_bundle ()
173+ controller = providers .controller
173174 workspace = find_workspace_root (Path .cwd ())
174175 if not controller_address :
175- controller_address = platform .discover_controller (iris_config .proto .controller )
176- with platform .tunnel (address = controller_address ) as tunneled :
176+ controller_address = controller .discover_controller (iris_config .proto .controller )
177+ with controller .tunnel (address = controller_address ) as tunneled :
177178 client = IrisClient .remote (tunneled , workspace = workspace )
178179 try :
179180 yield client
You can’t perform that action at this time.
0 commit comments