mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-08-16 07:18:09 +02:00
parent
26e76c611e
commit
3c2815d2e9
@ -47,8 +47,8 @@ class CoreApi implements DeploymentApiInterface
|
||||
{
|
||||
$version = $this->getVersion();
|
||||
|
||||
if ($version === null || (version_compare($version, '2.8.2', '>=')
|
||||
&& version_compare($version, '2.10.2', '<'))
|
||||
if ($version === null ||
|
||||
((version_compare($version, '2.8.2', '>=') && version_compare($version, '2.10.2', '<')))
|
||||
) {
|
||||
$this->client->disconnect();
|
||||
$this->client->setKeepAlive(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user