Fix SR creation when using options or NFSv4 (#2960)

This commit is contained in:
Jerome Charaoui 2018-05-17 16:12:09 -04:00 committed by Olivier Lambert
parent 8ada6b121e
commit f505d4d911

View File

@ -204,8 +204,8 @@ export async function createNfs ({
}
// if NFS options given
if (nfsVersion) {
deviceConfig.options = nfsVersion
if (nfsOptions) {
deviceConfig.options = nfsOptions
}
const srRef = await xapi.call(