CA-338003: The action's Sessions is set once the action has started to run. Added missing help references.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2020-04-27 10:36:51 +01:00
parent 17b6c28978
commit 436ffe4a37
2 changed files with 4 additions and 4 deletions

View File

@ -175,7 +175,7 @@
<value>troubleshooting-bugtool</value>
</data>
<data name="CertificateAlert" xml:space="preserve">
<value></value>
<value>hosts-certificates</value>
</data>
<data name="CertificateChangedDialog" xml:space="preserve">
<value>hosts-reconnect</value>
@ -586,7 +586,7 @@
<value>vms-importdiskimage</value>
</data>
<data name="InstallCertificate" xml:space="preserve">
<value></value>
<value>hosts-certificates</value>
</data>
<data name="InstallToolsWarningDialog" xml:space="preserve">
<value>vms-installtools</value>

View File

@ -61,7 +61,6 @@ namespace XenAdmin.Actions
Messages.INSTALL_SERVER_CERTIFICATE_DESCRIPTION, true)
{
Host = host;
_session = Session;
_hostRef = host.opaque_ref;
_isMaster = host.IsMaster();
@ -214,7 +213,8 @@ namespace XenAdmin.Actions
try
{
Host.install_server_certificate(Session, _hostRef, certificate, privateKey, chain);
_session = Session;
Host.install_server_certificate(_session, _hostRef, certificate, privateKey, chain);
PercentComplete = 50;
WaitForNewCertificate();
}