CP-13983: Fix the SR convert action

- use SR.opaque_ref instead of uuid

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2015-09-22 11:05:39 +01:00
parent ed625e081b
commit 0de5a2d310

View File

@ -188,7 +188,7 @@ namespace XenAdmin.Actions
long.TryParse(parameters["allocation_quantum"], out allocation_quantum);
}
LVHD.enable_thin_provisioning(Session, SR.uuid, initial_allocation, allocation_quantum);
LVHD.enable_thin_provisioning(Session, SR.opaque_ref, initial_allocation, allocation_quantum);
Description = string.Format(Messages.ACTION_SR_CONVERTED_TO_THIN, SR.NameWithLocation);
break;