mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-21 07:49:32 +01:00
Ensure there are servers whose CPU will be downlevelled before showing the warning.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
c485f8ee5e
commit
003d65087b
@ -520,6 +520,8 @@ namespace XenAdmin.Core
|
||||
}
|
||||
}
|
||||
|
||||
if (hostsWithMoreFeatures.Count > 0)
|
||||
{
|
||||
string msg3 = string.Format(hostsWithMoreFeatures.Count == 1
|
||||
? Messages.ADD_HOST_TO_POOL_CPU_DOWN_LEVEL_HOST_MESSAGE
|
||||
: Messages.ADD_HOST_TO_POOL_CPU_DOWN_LEVEL_HOST_MESSAGE_MULTIPLE,
|
||||
@ -531,5 +533,8 @@ namespace XenAdmin.Core
|
||||
return dlg.ShowDialog(Program.MainWindow) == DialogResult.Yes;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user