fix(xo-server/sr.createExt): fix SR_create call

Introduced by 052126613
This commit is contained in:
Julien Fontanet
2022-06-07 18:59:18 +02:00
parent dd5e11e835
commit 877383ac85
2 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,8 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [New SR] Fix `method.startsWith is not a function` when creating an _ext_ SR
### Packages to release
> When modifying a package, add it here with its release type.

View File

@@ -368,7 +368,7 @@ export async function createExt({ host, nameLabel, nameDescription, device }) {
device,
}
const srRef = await xapi.call({
const srRef = await xapi.SR_create({
device_config: deviceConfig,
host: host._xapiRef,
name_description: nameDescription,