CAR-2146: Fixed a minor bug in Alert generation

Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
This commit is contained in:
Koushik Chakravarty 2016-02-19 17:58:07 +05:30
parent 32d69adbd5
commit d261001130

View File

@ -217,9 +217,9 @@ namespace XenAdmin.Dialogs.VMPolicies
}
foreach (var policy in VMGroup<T>.VMPolicies(Pool.Connection.Cache))
{
if (!VMGroup<T>.isVMPolicyVMPP)
{
policy.PolicyAlerts.Clear();
List<XenAPI.Message> processedMessages = new List<XenAPI.Message>();
/*for VMSS: Populate the alerts from Messages by filtering out the alerts for this schedule
This is not required in VMPP as the VMPP record itself has the recentAlerts */