Fixing the redacted migration service id by encoding it to base64 (#16528)

This commit is contained in:
Aasim Khan
2021-08-02 16:26:09 -07:00
committed by GitHub
parent 56ad631478
commit 466193adbe

View File

@@ -909,7 +909,7 @@ export class MigrationStateModel implements Model, vscode.Disposable {
'serverName': this._targetServerInstance.name, 'serverName': this._targetServerInstance.name,
'tenantId': this._azureAccount.properties.tenants[0].id, 'tenantId': this._azureAccount.properties.tenants[0].id,
'location': this._targetServerInstance.location, 'location': this._targetServerInstance.location,
'sqlMigrationServiceId': this._sqlMigrationService.id, 'sqlMigrationServiceId': Buffer.from(this._sqlMigrationService.id).toString('base64'),
'irRegistered': (this._nodeNames.length > 0).toString() 'irRegistered': (this._nodeNames.length > 0).toString()
}, },
{ {