fix(xo-server/remotes): inability to get remotes info (#5093)

Introduced by 218bd0f
This commit is contained in:
badrAZ 2020-06-23 11:12:16 +02:00 committed by GitHub
parent c1d588264c
commit edc4414de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -26,6 +26,7 @@
- [Notification] Fix same notification showing again as unread (PR [#5067](https://github.com/vatesfr/xen-orchestra/pull/5067))
- [SDN Controller] Fix broken private network creation when specifiyng a preferred center [#5076](https://github.com/vatesfr/xen-orchestra/issues/5076) (PRs [#5079](https://github.com/vatesfr/xen-orchestra/pull/5079) & [#5080](https://github.com/vatesfr/xen-orchestra/pull/5080))
- [Import/VMDK] Import of VMDK disks has been broken since 5.45.0 (PR [#5087](https://github.com/vatesfr/xen-orchestra/pull/5087))
- [Remotes] Fix not displayed used/total disk (PR [#5093](https://github.com/vatesfr/xen-orchestra/pull/5093))
### Packages to release

View File

@ -122,9 +122,7 @@ export default class {
? this._xo.callProxyMethod(remote.proxy, 'remote.getInfo', {
remote,
})
: await this.getRemoteHandler(remote.id).then(handler =>
handler.getInfo()
)
: this.getRemoteHandler(remote.id).then(handler => handler.getInfo())
try {
await timeout.call(