Minor fix on pool merge.

This commit is contained in:
Julien Fontanet 2015-10-07 12:18:18 +02:00
parent 4678f60adf
commit 6055ac182b

View File

@ -905,9 +905,9 @@ export default class Xo extends EventEmitter {
} catch (e) {
const {objects} = sourceXapi
objects.add('add', this._onXenAdd)
objects.add('update', this._onXenAdd)
objects.add('remove', this._onXenRemove)
objects.on('add', this._onXenAdd)
objects.on('update', this._onXenAdd)
objects.on('remove', this._onXenRemove)
this._onXenAdd(objects.all)