Fixed an issue when deploying instances on BigAnimal with the High Availability option not selected, it throws an error.

pull/86/head
Khushboo Vashi 2022-06-15 11:00:40 +05:30 committed by Akshay Joshi
parent fbf7b4aec3
commit 48336fd7f4
1 changed files with 2 additions and 1 deletions

View File

@ -466,6 +466,7 @@ class BigAnimalDatabaseSchema extends BaseUISchema {
confirm_password: '', confirm_password: '',
database_type: '', database_type: '',
postgres_version: '', postgres_version: '',
high_availability: false,
...initValues ...initValues
}); });
@ -590,7 +591,7 @@ class BigAnimalHighAvailSchema extends BaseUISchema {
constructor(fieldOptions = {}, initValues = {}) { constructor(fieldOptions = {}, initValues = {}) {
super({ super({
oid: undefined, oid: undefined,
high_availability: '', high_availability: false,
...initValues ...initValues
}); });