Merge pull request #469 from MihaelaStoica/CA-170028

CA-170028: [SCTX-2069] Base mirror disk should not be visible in XenCenter
This commit is contained in:
Gabor Apati-Nagy 2015-05-19 16:40:59 +01:00
commit 3cd02c9a0f

View File

@ -654,8 +654,8 @@ namespace XenAdmin.TabPages
List<VDI> vdis =
sr.Connection.ResolveAll(sr.VDIs).Where(
vdi =>
vdi.Show(Properties.Settings.Default.ShowHiddenVMs &&
!vdi.IsAnIntermediateStorageMotionSnapshot))
vdi.Show(Properties.Settings.Default.ShowHiddenVMs) &&
!vdi.IsAnIntermediateStorageMotionSnapshot)
.ToList();
bool showStorageLink = vdis.Find(v => v.sm_config.ContainsKey("SVID")) != null;