chore(xen-api/setFieldEntry): always returns undefined

This commit is contained in:
Julien Fontanet 2019-02-24 18:16:34 +01:00
parent 12a7000e36
commit 4216a5808a

View File

@ -757,7 +757,7 @@ export class Xapi extends EventEmitter {
async setFieldEntry(type, ref, field, entry, value) {
if (value === null) {
return this.call(`${type}.remove_from_${field}`, ref, entry)
return this.call(`${type}.remove_from_${field}`, ref, entry).then(noop)
}
while (true) {
try {