diff --git a/extensions/arc/src/ui/dashboards/postgres/postgresComputeAndStoragePage.ts b/extensions/arc/src/ui/dashboards/postgres/postgresComputeAndStoragePage.ts index a1a3f36fc6..579ee88508 100644 --- a/extensions/arc/src/ui/dashboards/postgres/postgresComputeAndStoragePage.ts +++ b/extensions/arc/src/ui/dashboards/postgres/postgresComputeAndStoragePage.ts @@ -153,14 +153,13 @@ export class PostgresComputeAndStoragePage extends DashboardPage { title: loc.updatingInstance(this._postgresModel.info.name), cancellable: false }, - (_progress, _token) => { - return this._azdataApi.azdata.arc.postgres.server.edit( + async (_progress, _token): Promise => { + await this._azdataApi.azdata.arc.postgres.server.edit( this._postgresModel.info.name, this.saveArgs); + await this._postgresModel.refresh(); } ); - this._postgresModel.refresh(); - vscode.window.showInformationMessage(loc.instanceUpdated(this._postgresModel.info.name)); } catch (error) {