fix(xo-server/_createProxyVm): {this → _app}.getObject
Fixes zammad#20646
Introduced by 70b0983
This commit is contained in:
parent
b1e879ca2f
commit
f218874c4b
@ -11,6 +11,8 @@
|
||||
|
||||
> Users must be able to say: “I had this issue, happy to know it's fixed”
|
||||
|
||||
- [Proxies] Fix `this.getObject` is not a function during deployment
|
||||
|
||||
### Packages to release
|
||||
|
||||
> When modifying a package, add it here with its release type.
|
||||
@ -27,4 +29,6 @@
|
||||
|
||||
<!--packages-start-->
|
||||
|
||||
- xo-server patch
|
||||
|
||||
<!--packages-end-->
|
||||
|
@ -277,7 +277,7 @@ export default class Proxy {
|
||||
namespace,
|
||||
version: xva.version,
|
||||
}),
|
||||
srId && this.getObject(srId, 'SR')._xapiRef
|
||||
srId && app.getObject(srId, 'SR')._xapiRef
|
||||
)
|
||||
$defer.onFailure(() => xapi.VM_destroy(vm.$ref))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user