[icinga-checkins] icinga.org: icingaweb2-module-director/master: LegacyDeploymentApi: Call activation tool to deploy a new stage
git at icinga.org
git at icinga.org
Mon Nov 7 14:13:11 CET 2016
Module: icingaweb2-module-director
Branch: master
Commit: a3d69c4f4c8993aba00a567588e75b1883e15b2d
URL: https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=a3d69c4f4c8993aba00a567588e75b1883e15b2d
Author: Markus Frosch <markus.frosch at icinga.com>
Date: Fri Nov 4 16:38:08 2016 +0100
LegacyDeploymentApi: Call activation tool to deploy a new stage
refs #13049
---
library/Director/Core/LegacyDeploymentApi.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library/Director/Core/LegacyDeploymentApi.php b/library/Director/Core/LegacyDeploymentApi.php
index e1a9f84..be44300 100644
--- a/library/Director/Core/LegacyDeploymentApi.php
+++ b/library/Director/Core/LegacyDeploymentApi.php
@@ -291,7 +291,7 @@ class LegacyDeploymentApi implements DeploymentApiInterface
*/
protected function activateStage($stage)
{
- if ($this->activationScript === null || trim($this->activationScript === null) === '') {
+ if ($this->activationScript === null || trim($this->activationScript) === '') {
// skip activation, could be done by external cron worker
return true;
}
More information about the icinga-checkins
mailing list