chore(xen-api/setFieldEntry): always returns undefined
This commit is contained in:
parent
12a7000e36
commit
4216a5808a
@ -757,7 +757,7 @@ export class Xapi extends EventEmitter {
|
|||||||
|
|
||||||
async setFieldEntry(type, ref, field, entry, value) {
|
async setFieldEntry(type, ref, field, entry, value) {
|
||||||
if (value === null) {
|
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) {
|
while (true) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user