mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 01:25:38 -05:00
SQL-Migration: add retry migration prompt (#22555)
* add retry migration prompt * updating review comments * update context menu postion to match toolbar
This commit is contained in:
@@ -99,7 +99,7 @@ export class WizardController {
|
||||
|
||||
// kill existing data collection if user relaunches the wizard via new migration or retry existing migration
|
||||
await this._model.refreshPerfDataCollection();
|
||||
if ((!this._model.resumeAssessment || this._model.retryMigration) && this._model._perfDataCollectionIsCollecting) {
|
||||
if ((!this._model.resumeAssessment || this._model.restartMigration) && this._model._perfDataCollectionIsCollecting) {
|
||||
void this._model.stopPerfDataCollection();
|
||||
void vscode.window.showInformationMessage(loc.AZURE_RECOMMENDATION_STOP_POPUP);
|
||||
}
|
||||
@@ -107,7 +107,7 @@ export class WizardController {
|
||||
const wizardSetupPromises: Thenable<void>[] = [];
|
||||
wizardSetupPromises.push(...pages.map(p => p.registerWizardContent()));
|
||||
wizardSetupPromises.push(this._wizardObject.open());
|
||||
if (this._model.retryMigration || this._model.resumeAssessment) {
|
||||
if (this._model.resumeAssessment || this._model.restartMigration) {
|
||||
if (this._model.savedInfo.closedPage >= Page.IntegrationRuntime) {
|
||||
this._model.refreshDatabaseBackupPage = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user