mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-06 17:23:53 -05:00
Fixed customlocation parsing (#19893)
Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -206,7 +206,7 @@ export class ConnectToControllerDialog extends ControllerDialogBase {
|
||||
|
||||
if (controllerModel.info.connectionMode === ConnectionMode.direct) {
|
||||
const rawCustomLocation = <string>controllerModel.controllerConfig?.metadata.annotations['management.azure.com/customLocation'];
|
||||
const exp = /customlocations\/([\S]*)/;
|
||||
const exp = /customLocations\/([\S]*)/;
|
||||
controllerModel.info.customLocation = <string>exp.exec(rawCustomLocation)?.pop();
|
||||
}
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user