diff --git a/XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoHBA.cs b/XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoHBA.cs index 6153105fb..dcb33fcbd 100644 --- a/XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoHBA.cs +++ b/XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoHBA.cs @@ -216,6 +216,7 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends private bool RunProbe(Host master, FibreChannelDescriptor srDescriptor, out List srs) { + srs = new List(); var action = new SrProbeAction(Connection, master, srDescriptor.SrType, srDescriptor.DeviceConfig); using (var dlg = new ActionProgressDialog(action, ProgressBarStyle.Marquee)) @@ -234,8 +235,6 @@ namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends } } - srs = new List(); - //CA-335356 special treatment of case where gfs2 cannot see the same devices as lvmohba if (srDescriptor.SrType == SR.SRTypes.gfs2 && action.Exception is Failure f && f.ErrorDescription.Count > 1 && f.ErrorDescription[0].StartsWith("SR_BACKEND_FAILURE") && f.ErrorDescription[1] == "DeviceNotFoundException")