mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
[CA-107357] Migrate VM Wizard allows selection of broken SRs
Detached SRs are no longer selectable. Signed-off-by: Frezzle <frederico.mazzone@citrix.com>
This commit is contained in:
parent
8de55cb90c
commit
54a2ba7ac4
@ -429,7 +429,7 @@ namespace XenAdmin.Wizards.GenericPages
|
||||
continue;
|
||||
|
||||
var sr = TargetConnection.Resolve(pbd.SR);
|
||||
if (sr == null)
|
||||
if (sr == null || sr.IsDetached)
|
||||
continue;
|
||||
|
||||
if ((sr.content_type.ToLower() == "iso" || sr.type.ToLower() == "iso") && !resource.SRTypeInvalid)
|
||||
|
Loading…
Reference in New Issue
Block a user