Added engine version argument to edit command. (#13610)

* Added engine version argument to edit command. Neccessary for not using pg12

* Included for changing password in overview page

* Updated fakeazdataapi test
This commit is contained in:
nasc17
2020-12-03 08:46:48 -08:00
committed by GitHub
parent d17ca1561f
commit 67e3d2ebdb
6 changed files with 10 additions and 2 deletions

View File

@@ -157,7 +157,9 @@ export class PostgresComputeAndStoragePage extends DashboardPage {
async (_progress, _token): Promise<void> => {
try {
await this._azdataApi.azdata.arc.postgres.server.edit(
this._postgresModel.info.name, this.saveArgs);
this._postgresModel.info.name,
this.saveArgs,
this._postgresModel.engineVersion);
} catch (err) {
// If an error occurs while editing the instance then re-enable the save button since
// the edit wasn't successfully applied