mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
Merge pull request #887 from MihaelaStoica/CA-187132
CA-187132: XenCenter loses XenServer address when retrying connection
This commit is contained in:
commit
1acf4bf261
@ -1532,7 +1532,7 @@ namespace XenAdmin.Network
|
|||||||
}
|
}
|
||||||
MaybeStartNextSlaveTimer(reason, error);
|
MaybeStartNextSlaveTimer(reason, error);
|
||||||
}
|
}
|
||||||
else
|
else if (LastMasterHostname != "")
|
||||||
{
|
{
|
||||||
log.DebugFormat("Stopping search for new master for {0}: timeout reached without success. Trying the old master one last time",
|
log.DebugFormat("Stopping search for new master for {0}: timeout reached without success. Trying the old master one last time",
|
||||||
LastConnectionFullName);
|
LastConnectionFullName);
|
||||||
@ -1540,6 +1540,10 @@ namespace XenAdmin.Network
|
|||||||
Hostname = LastMasterHostname;
|
Hostname = LastMasterHostname;
|
||||||
ReconnectMaster();
|
ReconnectMaster();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OnConnectionResult(false, reason, error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user