mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 15:29:26 +01:00
CA-364152: Do not calculate completed percentage if there are no actions to run.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
a578b6924c
commit
a342adc859
@ -175,6 +175,9 @@ namespace XenAdmin.Actions
|
||||
|
||||
protected override void RecalculatePercentComplete()
|
||||
{
|
||||
if (actionsCount == 0)
|
||||
return;
|
||||
|
||||
int total = 0;
|
||||
foreach (IXenConnection connection in actionsByConnection.Keys)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user