fix(xo-server/vm.set): setting affinity (#4361)

Caused by 3196c7ca09

Fixes xoa-support#1625
This commit is contained in:
Julien Fontanet
2019-07-18 16:41:02 +02:00
committed by Pierre Donias
parent 7d3d1b1544
commit 7cef48b995
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [Task] fix hidden notification by search field [#3874](https://github.com/vatesfr/xen-orchestra/issues/3874) (PR [#4305](https://github.com/vatesfr/xen-orchestra/pull/4305)
- [VM] Fail to change affinity (PR [#4361](https://github.com/vatesfr/xen-orchestra/pull/4361)
### Released packages

View File

@@ -259,7 +259,7 @@ export default {
affinityHost: {
get: 'affinity',
set: (value, vm) =>
vm.set_affinity(value ? this.getObject(value).$ref : NULL_REF),
vm.set_affinity(value ? vm.$xapi.getObject(value).$ref : NULL_REF),
},
autoPoweron: {