CA-289335: Show empty selection if the cluster network cannot be resolved

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
This commit is contained in:
Mihaela Stoica 2018-05-24 13:01:50 +01:00 committed by Konstantina Chremmou
parent a74ee3a793
commit 54b134a2eb

View File

@ -144,6 +144,7 @@ namespace XenAdmin.SettingsPanels
if (cluster != null)
{
comboBoxNetwork.SelectedItem = null;
var clusterHostOnMaster = pool.Connection.ResolveAll(cluster.cluster_hosts).FirstOrDefault(c => c.host.opaque_ref == pool.master.opaque_ref);
foreach (NetworkComboBoxItem item in comboBoxNetwork.Items.Cast<NetworkComboBoxItem>())
{