fix instance code
This commit is contained in:
parent
3d694088bd
commit
e3bcb9dd67
2 changed files with 33 additions and 33 deletions
|
@ -118,7 +118,7 @@ async function updateInstances(): Promise<void> {
|
|||
const existingInstance = instanceNames.get(instance.name);
|
||||
if (existingInstance) {
|
||||
for (const key of Object.keys(instance)) {
|
||||
if (!existingInstance[key]) {
|
||||
if (!(key in existingInstance)) {
|
||||
existingInstance[key] = instance[key];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue