fix(Xapi#_installPoolPatchAndRequirements): ignore required patch if already installed (#564)
This commit is contained in:
parent
61089c1128
commit
024d14d529
@ -380,8 +380,12 @@ export default {
|
||||
|
||||
if (requirements.length) {
|
||||
for (const requirementUuid of requirements) {
|
||||
await this._installPoolPatchAndRequirements(patchesByUuid[requirementUuid], patchesByUuid, host)
|
||||
host = host && this.getObject(host.$id)
|
||||
const requirement = patchesByUuid[requirementUuid]
|
||||
|
||||
if (requirement != null) {
|
||||
await this._installPoolPatchAndRequirements(requirement, patchesByUuid, host)
|
||||
host = host && this.getObject(host.$id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user