Fixed the migration controller typos in typing (#14068)

This commit is contained in:
Aasim Khan
2021-01-27 03:32:37 -08:00
committed by GitHub
parent a04c2f3ba6
commit 028568971f
2 changed files with 2 additions and 2 deletions

View File

@@ -418,7 +418,7 @@ export class CreateMigrationControllerDialog {
const region = (this.migrationControllerRegionDropdown.value as azdata.CategoryValue).name;
const controllerStatus = await getMigrationController(this.migrationStateModel.azureAccount, subscription, resourceGroup, region, this.migrationStateModel.migrationController!.name);
if (controllerStatus) {
const state = controllerStatus.properties.integrationRunTimeState;
const state = controllerStatus.properties.integrationRuntimeState;
if (state === 'Online') {
this._connectionStatus.value = constants.CONTRLLER_READY(this.migrationStateModel.migrationController!.name, os.hostname());