mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Removed ManualModeSelected property in favour of the existing ManualUpgrade; moved the latter in the class using it.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
8851139a11
commit
0aa43018a4
@ -576,9 +576,6 @@ namespace XenAdmin.Wizards.PatchingWizard
|
||||
return groups;
|
||||
}
|
||||
|
||||
[DefaultValue(true)]
|
||||
protected bool ManualUpgrade { set; get; }
|
||||
|
||||
public override void PageCancelled()
|
||||
{
|
||||
DeregisterEventHandlers();
|
||||
|
@ -122,7 +122,7 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
||||
else
|
||||
AddPage(RollingUpgradeWizardInstallMethodPage, 4);
|
||||
|
||||
RollingUpgradeWizardPrecheckPage.ManualModeSelected = manualModeSelected;
|
||||
RollingUpgradeWizardPrecheckPage.ManualUpgrade = manualModeSelected;
|
||||
RollingUpgradeUpgradePage.ManualModeSelected = manualModeSelected;
|
||||
|
||||
var applyUpdatesToNewVersion = RollingUpgradeWizardUpgradeModePage.ApplyUpdatesToNewVersion;
|
||||
|
@ -51,10 +51,9 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
||||
public RollingUpgradeWizardPrecheckPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Dock = DockStyle.Fill;
|
||||
ManualUpgrade = true;
|
||||
}
|
||||
|
||||
|
||||
private void AddEventHandlersToMasters()
|
||||
{
|
||||
foreach (Host master in SelectedMasters)
|
||||
@ -86,7 +85,6 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
||||
return;
|
||||
}
|
||||
var selectedMasters = new List<Host>(SelectedMasters);
|
||||
ManualUpgrade = ManualModeSelected;
|
||||
RemoveEventHandlersToMasters();
|
||||
SelectedServers.Clear();
|
||||
foreach (Host selectedMaster in selectedMasters)
|
||||
@ -233,7 +231,7 @@ namespace XenAdmin.Wizards.RollingUpgradeWizard
|
||||
}
|
||||
|
||||
public IEnumerable<Host> SelectedMasters { private get; set; }
|
||||
public bool ManualModeSelected { private get; set; }
|
||||
public bool ManualUpgrade { set; private get; }
|
||||
|
||||
#region private methods
|
||||
public static List<Host> HostsToUpgradeOrUpdate(Pool pool)
|
||||
|
Loading…
Reference in New Issue
Block a user