fix(xo-server/xen-servers): pool.id → pool.$id (#3723)
Correctly unregister a Xapi connection from its pool.
This commit is contained in:
commit
b773f5e821
@ -371,8 +371,8 @@ export default class {
|
||||
delete this._xapis[id]
|
||||
|
||||
const { pool } = xapi
|
||||
if (pool) {
|
||||
delete this._xapisByPool[pool.id]
|
||||
if (pool != null) {
|
||||
delete this._xapisByPool[pool.$id]
|
||||
}
|
||||
|
||||
xapi.xo.uninstall()
|
||||
|
Loading…
Reference in New Issue
Block a user