mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-227034: Slipstream packaged Live patching hotfix is rebooting host
This happened because the LivePatchCodesByHost was null when the prechecks were generated for an update, so the live patch codes returned by the precheck were ignored. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
parent
3d9216161f
commit
6b374cb400
@ -289,6 +289,8 @@ namespace XenAdmin.Wizards.PatchingWizard
|
||||
Pool_patch patch = e.Argument as Pool_patch;
|
||||
Pool_update update = e.Argument as Pool_update;
|
||||
|
||||
LivePatchCodesByHost = new Dictionary<string, livepatch_status>();
|
||||
|
||||
List<KeyValuePair<string, List<Check>>> checks = update != null ? GenerateChecks(update) : GenerateChecks(patch); //patch is expected to be null for RPU
|
||||
_numberChecks = checks.Count;
|
||||
for (int i = 0; i < checks.Count; i++)
|
||||
@ -400,9 +402,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
||||
List<KeyValuePair<string, List<Check>>> checks = GenerateCommonChecks();
|
||||
|
||||
List<Check> checkGroup;
|
||||
|
||||
LivePatchCodesByHost = new Dictionary<string, livepatch_status>();
|
||||
|
||||
|
||||
//Checking other things
|
||||
if (patch != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user