[BUG] - instances.updateInstance() does not work correctly
gabos31 opened this issue · 2 comments
gabos31 commented
Describe the bug
- Error in the code
Line 47 in a7aa8c6
should be:(newObj, key) => Object.assign(newObj, { [key]: userParameters[key] }),
- Parameters that are passed empty (''), for example, the security group from which you want to exclude the instance, are not included in the request body. This is due to a parameter validation error.
For example, this can be avoided by adding an additional condition toLine 61 in a7aa8c6
should be:} else if (userParameter || userParameter === '') {