Parameter renaming and number of calls reduce (#23760)

Co-authored-by: Alexander Perfilyev <aperfilyev@microsoft.com>
This commit is contained in:
Alexander Perfilyev
2023-07-12 15:28:23 -07:00
committed by GitHub
parent 8bdc7d0346
commit 8b4b84e5c0
2 changed files with 5 additions and 4 deletions

View File

@@ -417,9 +417,10 @@ export class SKURecommendationPage extends MigrationWizardPage {
this._serverName = this.migrationStateModel.serverName || (await getSourceConnectionProfile()).serverName;
const miDialog = new AssessmentResultsDialog('ownerUri', this.migrationStateModel, constants.ASSESSMENT_TILE(this._serverName), this, MigrationTargetType.SQLMI);
const vmDialog = new AssessmentResultsDialog('ownerUri', this.migrationStateModel, constants.ASSESSMENT_TILE(this._serverName), this, MigrationTargetType.SQLVM);
const dbDialog = new AssessmentResultsDialog('ownerUri', this.migrationStateModel, constants.ASSESSMENT_TILE(this._serverName), this, MigrationTargetType.SQLDB);
const assessmentTitle = constants.ASSESSMENT_TITLE(this._serverName);
const miDialog = new AssessmentResultsDialog('ownerUri', this.migrationStateModel, assessmentTitle, this, MigrationTargetType.SQLMI);
const vmDialog = new AssessmentResultsDialog('ownerUri', this.migrationStateModel, assessmentTitle, this, MigrationTargetType.SQLVM);
const dbDialog = new AssessmentResultsDialog('ownerUri', this.migrationStateModel, assessmentTitle, this, MigrationTargetType.SQLDB);
this._disposables.push(button.onDidClick(async (e) => {
switch (this._rbg.selectedCardId) {