fix(Xapi#deleteVbd): add missing method
This commit is contained in:
parent
8f84b767d2
commit
e462ff3f4b
@ -1792,6 +1792,10 @@ export default class Xapi extends XapiBase {
|
|||||||
await this.call('VBD.destroy', vbd.$ref)
|
await this.call('VBD.destroy', vbd.$ref)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
deleteVbd (vbdId) {
|
||||||
|
return this._deleteVbd(this.getObject(vbdId))
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: remove when no longer used.
|
// TODO: remove when no longer used.
|
||||||
async destroyVbdsFromVm (vmId) {
|
async destroyVbdsFromVm (vmId) {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
|
Loading…
Reference in New Issue
Block a user