fix vbd for sr thanks to julienf

This commit is contained in:
Olivier Lambert 2013-12-14 19:04:09 +01:00
parent a1ef1353da
commit 7c3dcf586c

View File

@ -337,7 +337,7 @@ module.exports = (refsToUUIDs) ->
# FIXME: SR.VDIs -> VDI instead of VDI.SR -> SR.
SR: get('SR')
$VBD: get('VBDs')
$VBD: (value) -> {VBDs} = value; if VBDs.length is 0 then null else refsToUUIDs[VBDs[0]]
VBD: